blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 410 | content_id stringlengths 40 40 | detected_licenses listlengths 0 51 | license_type stringclasses 2 values | repo_name stringlengths 5 132 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 80 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 5.85k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 131 values | src_encoding stringclasses 34 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 3 9.45M | extension stringclasses 32 values | content stringlengths 3 9.45M | authors listlengths 1 1 | author_id stringlengths 0 313 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9459bca721f4277f945bd58ec29a3b6e9da7097b | b9c80effdce2205dd6293c75820ee68f8e1359e6 | /src/main/java/encapsulation/builderpattern/BigBoss.java | 6c4ed1d4ac37cf7899447a8dff760ad4fa6d3e03 | [] | no_license | fisnikshabani/JavaChallengers | db4839fc9988b93864cdcf27dd99ef29b4dbdc9b | a9e21a7ae80c16ca0c0f9d85dfa4dea9c3b1d09c | refs/heads/master | 2023-06-11T14:56:19.224982 | 2021-07-01T10:14:11 | 2021-07-01T10:14:11 | 374,227,204 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,788 | java | package encapsulation.builderpattern;
public class BigBoss {
private final String stealthCloth;
private final String primaryWeapon;
private final String secondaryWeapon;
private final String meleeWeapon;
private final String[] medicineItems;
public static class Builder{
private String stealthCloth;
private String primaryWeapon;
private String secondaryWeapon;
private String meleeWeapon;
private String[] medicineItems;
public Builder(String stealthCloth, String primaryWeapon) {
this.stealthCloth = stealthCloth;
this.primaryWeapon = primaryWeapon;
}
Builder withExtraWeapons(String secondaryWeapon, String meleeWeapon){
this.secondaryWeapon = secondaryWeapon;
this.meleeWeapon = meleeWeapon;
return this;
}
Builder withMedicineItems(String[] medicineItems){
this.medicineItems = medicineItems;
return this;
}
public BigBoss build(){
return new BigBoss(this);
}
}
private BigBoss(Builder builder){
this.stealthCloth = builder.stealthCloth;
this.primaryWeapon = builder.primaryWeapon;
this.secondaryWeapon = builder.secondaryWeapon;
this.meleeWeapon = builder.meleeWeapon;
this.medicineItems = builder.medicineItems;
}
public String getStealthCloth() {
return stealthCloth;
}
public String getPrimaryWeapon() {
return primaryWeapon;
}
public String getSecondaryWeapon() {
return secondaryWeapon;
}
public String getMeleeWeapon() {
return meleeWeapon;
}
public String[] getMedicineItems() {
return medicineItems;
}
}
| [
"fisnik.shabani@gmail.com"
] | fisnik.shabani@gmail.com |
2594f630dfa3f36fd9f9adc5169f82bee25efaf1 | 241be6079514e9f1a902c2e7a1f4418a3c29e5cd | /src/com/hibernate/tutorial/Employee.java | 7c1db063d514c93fae7f3276267115e2e41804bf | [] | no_license | truvanle/hibernatecore | 595fc77f4f6d1ce0f483782f2942398cfa6a4f1c | 4cc5ea9740c37744b86df41171b6e063e4a0ed60 | refs/heads/master | 2021-01-20T01:19:12.732953 | 2015-01-29T02:00:25 | 2015-01-29T02:00:25 | 32,241,517 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 403 | java | package com.hibernate.tutorial;
public class Employee {
private int id;
private String firstName;
private String lastName;
private int salary;
public Employee() {
}
public Employee(String fname, String lname, int salary) {
this.firstName = fname;
this.lastName = lname;
this.salary = salary;
}
public int getId() {
return id;
}
public int getSalary() {
return salary;
}
}
| [
"bontru2@gmail.com@adeb4819-5ba8-0442-725d-8be479702fb1"
] | bontru2@gmail.com@adeb4819-5ba8-0442-725d-8be479702fb1 |
55a44ae1eaa51e260693a70537a5ff4d02cbe9cc | a2b251bcb73008c3979f27dc0a30390994853e94 | /sample-spring/sample-spring-ioc/src/main/java/org/fangj/sample/spring/ioc/xmlconfig/InjectSimpleConfig.java | 4890df03f844bdaa2b1f0bbec7cf15495a578b5f | [] | no_license | fanguangjie1989/sample-spring | 2b0c5ffed434341aaa2699a3c8fc821c3e43dcdc | e8d9e420b87f18ebbbd5a2fee4e4d496d6415691 | refs/heads/master | 2021-01-01T04:02:21.109697 | 2017-07-20T09:23:21 | 2017-07-20T09:23:21 | 97,106,034 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 952 | java | package org.fangj.sample.spring.ioc.xmlconfig;
import org.springframework.stereotype.Component;
@SuppressWarnings("unused")
public class InjectSimpleConfig {
private String name = "Chris Schaefer";;
private int age = 12;
private float height = 1.78f;
private boolean programmer = true;
private Long ageInSeconds = 1009843200L;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public float getHeight() {
return height;
}
public void setHeight(float height) {
this.height = height;
}
public boolean isProgrammer() {
return programmer;
}
public void setProgrammer(boolean programmer) {
this.programmer = programmer;
}
public Long getAgeInSeconds() {
return ageInSeconds;
}
public void setAgeInSeconds(Long ageInSeconds) {
this.ageInSeconds = ageInSeconds;
}
}
| [
"fanguangjie1989@163.com"
] | fanguangjie1989@163.com |
b576268a1d6393bcc8156873e622da205b6d7020 | e65171e3e787c958748f34e10f56393ceb416e5b | /src/net/slashie/serf/action/ActionFactory.java | 956c0b9ef56e96a7d19baf5ea371ee94437e2e16 | [] | no_license | slashman/serf-engine | bb009b9541ccc158a8f442da9f396b31fc16b132 | 93ab5800f6d507ce91bee8d4e83f95ef5c7e9658 | refs/heads/master | 2021-12-30T08:49:22.238391 | 2021-11-11T20:06:00 | 2021-11-11T20:06:00 | 32,949,992 | 0 | 2 | null | 2016-04-03T03:26:31 | 2015-03-26T20:24:26 | Java | UTF-8 | Java | false | false | 655 | java | package net.slashie.serf.action;
import java.util.Hashtable;
import net.slashie.utils.Debug;
public class ActionFactory {
private final static ActionFactory singleton = new ActionFactory();
private Hashtable<String, Action> definitions = new Hashtable<String, Action>(20);
public static ActionFactory getActionFactory(){
return singleton;
}
public Action getAction (String id){
Action ret = (Action) definitions.get(id);
Debug.doAssert(ret != null, "Tried to get an invalid "+id+" Action");
return ret;
}
public void addDefinition(Action definition){
definitions.put(definition.getID(), definition);
}
}
| [
"java.koder@51ccf7a8-1371-11de-a6cc-771c510851eb"
] | java.koder@51ccf7a8-1371-11de-a6cc-771c510851eb |
a75c6c1b254c6a1a8d95854687f90bbd8c6a4193 | 51843342781f18731b4e157364f8dacd087bb225 | /bus-base/src/main/java/org/aoju/bus/base/spring/BaseAdvice.java | 71874a15eb3b36ce43fc0605d9ee3b4d385a8e1b | [
"MIT"
] | permissive | Wuxiaonai/bus | ad14c32324387af25bf3d7e7e6aae64f130f0a83 | e1feaad25833b171769fa9aa0b53a300321a68f9 | refs/heads/master | 2020-07-05T23:54:53.751431 | 2019-08-17T01:32:53 | 2019-08-17T01:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 7,221 | java | /*
* The MIT License
*
* Copyright (c) 2017, aoju.org All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.aoju.bus.base.spring;
import org.aoju.bus.base.consts.Consts;
import org.aoju.bus.base.consts.ErrorCode;
import org.aoju.bus.core.lang.exception.*;
import org.aoju.bus.core.utils.ObjectUtils;
import org.aoju.bus.logger.Logger;
import org.springframework.http.HttpStatus;
import org.springframework.ui.Model;
import org.springframework.web.HttpMediaTypeNotSupportedException;
import org.springframework.web.HttpRequestMethodNotSupportedException;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.NoHandlerFoundException;
/**
* <p>
* 异常信息拦截处理
* </p>
*
* @author Kimi Liu
* @version 3.0.9
* @since JDK 1.8
*/
@ControllerAdvice
@RestControllerAdvice
public class BaseAdvice extends Controller {
/**
* 应用到所有@RequestMapping注解方法,在其执行之前初始化数据绑定器
*
* @param binder 绑定器
*/
@InitBinder
public void initBinder(WebDataBinder binder) {
}
/**
* 把值绑定到Model中,
* 使全局@RequestMapping可以获取到该值
*
* @param model 对象
*/
@ModelAttribute
public void addAttributes(Model model) {
}
/**
* 全局异常拦截
* 处理全局异常
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = Exception.class)
public String defaultException(Exception e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_FAILURE);
}
/**
* 通用异常信息
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = CommonException.class)
public String commonException(CommonException e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_100506);
}
/**
* 工具异常拦截
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = InstrumentException.class)
public String instrumentException(InstrumentException e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_100510);
}
/**
* 拦截业务异常
* 事务回滚处理
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = BusinessException.class)
public String businessException(BusinessException e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_100513);
}
/**
* 定时任务失败
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = CrontabException.class)
public String crontabException(CrontabException e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_100514);
}
/**
* 参数验证失败
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = ValidateException.class)
public String ValidateException(ValidateException e) {
Logger.error(getStackTraceMessage(e));
return write(e.getErrcode(), e.getErrmsg());
}
/**
* 请求方式拦截
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = HttpRequestMethodNotSupportedException.class)
public String httpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_100507);
}
/**
* 媒体类型拦截
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ExceptionHandler(value = HttpMediaTypeNotSupportedException.class)
public String httpMediaTypeNotSupportedException(HttpMediaTypeNotSupportedException e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_100508);
}
/**
* 资源未找到
*
* @param e 异常信息
* @return 异常提示
*/
@ResponseBody
@ResponseStatus(HttpStatus.NOT_FOUND)
@ExceptionHandler(value = NoHandlerFoundException.class)
public String noHandlerFoundException(NoHandlerFoundException e) {
Logger.error(getStackTraceMessage(e));
return write(ErrorCode.EM_100509);
}
/**
* 从当前堆栈中获取
*
* @param exception 当前堆栈异常对象
* @return String 消息格式[className.methodName:lineNumber : message]
*/
private String getStackTraceMessage(Exception exception) {
if (ObjectUtils.isNull(exception)) {
return " exception is null ";
}
StringBuilder stackMessage = new StringBuilder(128);
stackMessage.append(exception.getMessage()).append("\n");
StackTraceElement[] stackTraceElements = exception.getStackTrace();
if (null != stackTraceElements && stackTraceElements.length > 0) {
int count = 0;
for (StackTraceElement currentStackTrace : stackTraceElements) {
if (isStack(currentStackTrace) && count < Consts.CODE_STACK_DEPTH) {
String message = String.format(" %s.%s : %s",
currentStackTrace.getClassName(),
currentStackTrace.getMethodName(),
currentStackTrace.getLineNumber());
stackMessage.append(message).append("\n");
}
count++;
}
}
return stackMessage.toString();
}
/**
* @param stackTraceElement 当前堆栈元素
* @return true/false
*/
private boolean isStack(StackTraceElement stackTraceElement) {
return ObjectUtils.isNotNull(stackTraceElement)
? stackTraceElement.getClassName().startsWith(Consts.CLASS_NAME_PREFIX) : Boolean.FALSE;
}
}
| [
"839536@QQ.COM"
] | 839536@QQ.COM |
2c9f6ed1e5e724f0d888d2744501b60829e3cad6 | 2d59e8912d05885ab944c45a099f26423112e4a4 | /skilledup-mobile/app/src/androidTest/java/com/skilledup/skilledup/ExampleInstrumentedTest.java | 1a4bf3cc87b9b32346e43f337a1667fc9c391de8 | [] | no_license | emilyfatou/SkilledUp | 095e84fdc810c6b121249157d84c20a7d7b2a4fa | fbaa20db1fa81fbd19825b31d6b8dfc52540932b | refs/heads/master | 2020-04-02T10:55:21.654302 | 2018-10-23T16:32:36 | 2018-10-23T16:32:36 | 154,361,878 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 750 | java | package com.skilledup.skilledup;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.skilledup.skilledup", appContext.getPackageName());
}
}
| [
"eflette@gmail.com"
] | eflette@gmail.com |
554a7af047f448686dbbd0a680c0cc3f965064cb | e8660e510f101f8dc115a22511f441dfbfa68cb3 | /Foundation/week_02-week_04/JavaBasicsProject/src/week_03/OO/Dominoes/Dominoes.java | 95b05c87114e95d647c00d6cef100a13d3ddc18f | [] | no_license | green-fox-academy/hanzs_solo | eb1ea84f70325af440fbae50c8e2676873b7c465 | bdd23ab2435d9ec0f0360dea81c759d1fe0aecda | refs/heads/master | 2023-06-01T20:35:15.295902 | 2021-06-14T20:52:34 | 2021-06-14T20:52:34 | 355,876,362 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,182 | java | package week_03.OO.Dominoes;
import java.util.ArrayList;
import java.util.List;
public class Dominoes {
public static void main(String[] args) {
List<Domino> dominoes = initializeDominoes();
// You have the list of Dominoes
// Order them into one snake where the adjacent dominoes have the same numbers on their adjacent sides
// eg: [2, 4], [4, 3], [3, 5] ...
List<Domino> dominoesInOrder = new ArrayList<>();
//mindegy melyik dominó az első mert mindegyiknek van párja
for (int i = 0; i < dominoes.size() - 1; i++) {
for (int j = i; j < dominoes.size(); j++) {
if (dominoes.get(i).getRightSide() == dominoes.get(j).getLeftSide()) {
dominoes.add(i + 1, dominoes.get(j));
dominoes.remove(j + 1);
break;
}
}
}
System.out.println(dominoes);
}
static List<Domino> initializeDominoes() {
List<Domino> dominoes = new ArrayList<>();
dominoes.add(new Domino(5, 2));
dominoes.add(new Domino(4, 6));
dominoes.add(new Domino(1, 5));
dominoes.add(new Domino(6, 7));
dominoes.add(new Domino(2, 4));
dominoes.add(new Domino(7, 1));
return dominoes;
}
} | [
"hanzsgergely@gmail.com"
] | hanzsgergely@gmail.com |
08917fb2bbaf5c9ff4a4b799cdeba0a2da7deff6 | 6a27175229d0e85e82d34595ff8d991e0f85218d | /src/main/java/cs4240_team1/codegen/VariableComparator.java | 9f1a9c06cdb1baf696f2014ab0d7d40bfb8fa919 | [] | no_license | svermeyen/Tiger-Compiler | 7fd8f66bce9eaa67b10389a8fa7f08daaeb03699 | 05db8f71e9f72f215a7bd528b39c8fcf800b7ee3 | refs/heads/master | 2021-01-01T19:11:50.104361 | 2015-01-27T17:50:38 | 2015-01-27T17:50:38 | 26,837,346 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 249 | java | package cs4240_team1.codegen;
import java.util.Comparator;
public class VariableComparator implements Comparator<BlockVariable> {
@Override
public int compare(BlockVariable o1, BlockVariable o2) {
return o1.compareTo(o2);
}
}
| [
"svermeyen1@lawn-128-61-76-167.lawn.gatech.edu"
] | svermeyen1@lawn-128-61-76-167.lawn.gatech.edu |
75da108d0d1e72ba5f016c70e01dcfb5a6d8ad8e | 341ed102cd8c2e7ab9e07af58daed3c28253c1c9 | /SistemaFat/SistemaFaturamento/src/gcom/webservice/totem/IRepositorioTotem.java | 5b305df5eb267bc8e3bc9be1f559373043f2bdb6 | [] | no_license | Relesi/Stream | a2a6772c4775a66a753d5cc830c92f1098329270 | 15710d5a2bfb5e32ff8563b6f2e318079bcf99d5 | refs/heads/master | 2021-01-01T17:40:52.530660 | 2017-08-21T22:57:02 | 2017-08-21T22:57:02 | 98,132,060 | 2 | 0 | null | null | null | null | ISO-8859-1 | Java | false | false | 2,878 | java | /*
* Copyright (C) 2007-2007 the GSAN - Sistema Integrado de Gestão de Serviços de Saneamento
*
* This file is part of GSAN, an integrated service management system for Sanitation
*
* GSAN is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License.
*
* GSAN is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
/*
* GSAN - Sistema Integrado de Gestão de Serviços de Saneamento
* Copyright (C) <2007>
* Adriano Britto Siqueira
* Alexandre Santos Cabral
* Ana Carolina Alves Breda
* Ana Maria Andrade Cavalcante
* Aryed Lins de Araújo
* Bruno Leonardo Rodrigues Barros
* Carlos Elmano Rodrigues Ferreira
* Cláudio de Andrade Lira
* Denys Guimarães Guenes Tavares
* Eduardo Breckenfeld da Rosa Borges
* Fabíola Gomes de Araújo
* Flávio Leonardo Cavalcanti Cordeiro
* Francisco do Nascimento Júnior
* Homero Sampaio Cavalcanti
* Ivan Sérgio da Silva Júnior
* José Edmar de Siqueira
* José Thiago Tenório Lopes
* Kássia Regina Silvestre de Albuquerque
* Leonardo Luiz Vieira da Silva
* Márcio Roberto Batista da Silva
* Maria de Fátima Sampaio Leite
* Micaela Maria Coelho de Araújo
* Nelson Mendonça de Carvalho
* Newton Morais e Silva
* Pedro Alexandre Santos da Silva Filho
* Rafael Corrêa Lima e Silva
* Rafael Francisco Pinto
* Rafael Koury Monteiro
* Rafael Palermo de Araújo
* Raphael Veras Rossiter
* Roberto Sobreira Barbalho
* Rodrigo Avellar Silveira
* Rosana Carvalho Barbosa
* Sávio Luiz de Andrade Cavalcante
* Tai Mu Shih
* Thiago Augusto Souza do Nascimento
* Tiago Moreno Rodrigues
* Vivianne Barbosa Sousa
*
* Este programa é software livre; você pode redistribuí-lo e/ou
* modificá-lo sob os termos de Licença Pública Geral GNU, conforme
* publicada pela Free Software Foundation; versão 2 da
* Licença.
* Este programa é distribuído na expectativa de ser útil, mas SEM
* QUALQUER GARANTIA; sem mesmo a garantia implícita de
* COMERCIALIZAÇÃO ou de ADEQUAÇÃO A QUALQUER PROPÓSITO EM
* PARTICULAR. Consulte a Licença Pública Geral GNU para obter mais
* detalhes.
* Você deve ter recebido uma cópia da Licença Pública Geral GNU
* junto com este programa; se não, escreva para Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307, USA.
*/
package gcom.webservice.totem;
/**
* @author Bruno Barros
* @date 10/12/2015
*/
public interface IRepositorioTotem {
}
| [
"renatolessa.2011@hotmail.com"
] | renatolessa.2011@hotmail.com |
144745e808945b4578bfbe02390df394bde825e2 | 4dd29489cf8df3277a02b123f6f2b613c5692335 | /src/main/java/br/com/guilhermealvessilve/data/AuthorBook.java | 0290c21cf8a0014c5d75a4f6b9331243ce53dfdd | [] | no_license | guilherme-alves-silve/quarkus-data | 9fc376954a9ebd51a336fd4d821bf70af5c2029e | 564109de647a7a864a8b54a38d11357c78cde006 | refs/heads/master | 2022-10-08T10:25:49.695177 | 2020-06-11T19:20:48 | 2020-06-11T19:20:48 | 271,629,218 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,407 | java | package br.com.guilhermealvessilve.data;
import io.quarkus.hibernate.orm.panache.PanacheEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.FullTextField;
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.Indexed;
import javax.json.bind.annotation.JsonbTransient;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import java.util.Objects;
@Data
@Builder
@Indexed
@NoArgsConstructor
@AllArgsConstructor
@Entity(name = "author_book")
public class AuthorBook extends PanacheEntity {
@FullTextField(analyzer = "english")
private String title;
@ManyToOne
@JsonbTransient
private Author author;
private int pages;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AuthorBook that = (AuthorBook) o;
return pages == that.pages &&
title.equals(that.title);
}
@Override
public int hashCode() {
return Objects.hash(title, pages);
}
@Override
public String toString() {
return "AuthorBook{" +
"title='" + title + '\'' +
", pages=" + pages +
", id=" + id +
'}';
}
}
| [
"guilherme_alves_silve@hotmail.com"
] | guilherme_alves_silve@hotmail.com |
cb0d9046efa992d49b033cbba646cb7b1a3e0c6b | f8341ff8072c93e9e46975114f312e86cd4cabc4 | /LoadImageDemo/app/src/androidTest/java/org/lynxz/loadimagedemo/ApplicationTest.java | 34e8d83bcfe9fce6638996b5f1d31d696a09a89b | [] | no_license | neverso/BlogSamples | fe2e666a0cc39bd1ee876706da1cb14768492d25 | b901c784e357c50d43518eb9a85a77ca6895bb06 | refs/heads/master | 2022-01-17T12:54:25.052299 | 2019-07-13T02:18:01 | 2019-07-13T02:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 354 | java | package org.lynxz.loadimagedemo;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} | [
"lucid_lynxz@163.com"
] | lucid_lynxz@163.com |
9a93b3ac3efb6dbfd649764af3aa16c495d01b75 | 99cba6740b4f6f12082f4fc99676b9b50c5f1715 | /src/state/Clock.java | 6ad9807e767270466d8e1df1cd2d2e7c1c0045cb | [] | no_license | tcharmont/ArcadeGame | 38e26c2d7511bc6223f5ebaffec2b57d04396fea | 9ce286a5b5c066505d0e910c3b229389d2b3ebc9 | refs/heads/master | 2021-03-27T20:19:06.345642 | 2018-10-31T16:47:35 | 2018-10-31T16:47:35 | 93,782,250 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,515 | java | package state;
import event.EventList;
import org.newdawn.slick.SlickException;
/**
* Class using the singleton pattern and managing the time
*/
public class Clock {
private double time;
private int hour = 4000;
/**
* Default constructor and initialize the time to zero
*/
private Clock() {
this.time = hour * 2;
}
private final static Clock instance = new Clock();
/**
* Get the clock instance
*
* @return The clock instance
*/
static public Clock getInstance() {
return instance;
}
/**
* Get the current time
*
* @return The current time
*/
static public double getTime() {
return instance.time;
}
/**
* Get the current hour
*
* @return The current hour
*/
static public int getHour() {
return (int) (instance.time / instance.hour % 24);
}
/**
* Add t milliseconds to the current time and run the events
*
* @param t The number of milliseconds to add
*/
static public void addTime(double t) throws SlickException {
instance.time += t;
EventList.run();
}
/**
* Check if it is the night
*
* @return True if it is the night
*/
static public boolean isNight() {
return (instance.time / instance.hour % 24 < 7) || (instance.time / instance.hour % 24 > 19);
}
@Override
public String toString() {
return "time: " + instance.time;
}
}
| [
"theophile.charmont@ensimag.grenoble-inp.fr"
] | theophile.charmont@ensimag.grenoble-inp.fr |
f40e018f5f2e8f726795e270b566885ae9185834 | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/transform/UpdateSensitivityInspectionTemplateRequestMarshaller.java | 95dc3ec543ed698e0b4f0afb11eea40d357040f5 | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Java | false | false | 3,195 | java | /*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.macie2.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.macie2.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* UpdateSensitivityInspectionTemplateRequestMarshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
@SdkInternalApi
public class UpdateSensitivityInspectionTemplateRequestMarshaller {
private static final MarshallingInfo<String> DESCRIPTION_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("description").build();
private static final MarshallingInfo<StructuredPojo> EXCLUDES_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("excludes").build();
private static final MarshallingInfo<String> ID_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PATH)
.marshallLocationName("id").build();
private static final MarshallingInfo<StructuredPojo> INCLUDES_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("includes").build();
private static final UpdateSensitivityInspectionTemplateRequestMarshaller instance = new UpdateSensitivityInspectionTemplateRequestMarshaller();
public static UpdateSensitivityInspectionTemplateRequestMarshaller getInstance() {
return instance;
}
/**
* Marshall the given parameter object.
*/
public void marshall(UpdateSensitivityInspectionTemplateRequest updateSensitivityInspectionTemplateRequest, ProtocolMarshaller protocolMarshaller) {
if (updateSensitivityInspectionTemplateRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(updateSensitivityInspectionTemplateRequest.getDescription(), DESCRIPTION_BINDING);
protocolMarshaller.marshall(updateSensitivityInspectionTemplateRequest.getExcludes(), EXCLUDES_BINDING);
protocolMarshaller.marshall(updateSensitivityInspectionTemplateRequest.getId(), ID_BINDING);
protocolMarshaller.marshall(updateSensitivityInspectionTemplateRequest.getIncludes(), INCLUDES_BINDING);
} catch (Exception e) {
throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
}
}
}
| [
""
] | |
166fcbc7b011a48690dfb94ae1b079a73e8f411a | 48b7e32aff5a84f7dfbc71df5c01d724eef42fb9 | /src/main/java/uk/co/brunella/qof/mapping/ResultMapping.java | 7452c137a955056fc39a059220e6246903eec9ab | [] | no_license | renatobrunella/QueryObjectFactory | 1c111a2690b176eb80ef5fcccaf87166ff2c1022 | 0c0de6ff2355b12c631aad908e1cc91c5365ca40 | refs/heads/master | 2021-01-17T16:14:38.819823 | 2020-03-15T15:14:05 | 2020-03-15T15:14:05 | 71,715,122 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,930 | java | /*
* Copyright 2007 - 2010 brunella ltd
*
* Licensed under the LGPL Version 3 (the "License");
* you may not use this file except in compliance with the License.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
package uk.co.brunella.qof.mapping;
import uk.co.brunella.qof.adapter.MappingAdapter;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
/**
* Mapping interface for result mappings.
*/
public interface ResultMapping extends Mapping {
/**
* Initializer.
*
* @param type mapping type
* @param collectionType collection type of method return result
* @param beanType Java Bean object type of method return result
* @param setter setter form Java Bean object
* @param sqlIndexes array of SQL indexes
* @param sqlColumns array of SQL column names
* @param adapter custom mapping adapter
* @param mapKeyType map key type
* @param constructorParameter index of a parameter in the constructor
* @param constructor constructor
* @param staticFactoryMethod static factory method
* @param collectionClass class of collection
* @param collectionInitialCapacity initial capacity of collection
*/
void setParameters(Class<?> type, Class<?> collectionType, Class<?> beanType, Method setter, int[] sqlIndexes,
String[] sqlColumns, MappingAdapter adapter, Class<?> mapKeyType, Integer constructorParameter,
Constructor<?> constructor, Method staticFactoryMethod, Class<?> collectionClass, int collectionInitialCapacity);
/**
* Returns mapping type.
*
* @return mapping type
*/
Class<?> getType();
/**
* Returns the collection type of the method return result or null.
* This needs to implement <code>Collection</code>.
*
* @return collection type of the method return result
*/
Class<?> getCollectionType();
/**
* Returns the type of the method return result Java Bean or null.
*
* @return bean type
*/
Class<?> getBeanType();
/**
* Returns the setter of the Java Bean or null.
*
* @return setter
*/
Method getSetter();
/**
* Returns an array with the column names in the SQL statement.
*
* @return array of SQL colum names
*/
String[] getSqlColumns();
/**
* Returns an array with the indexes in the SQL statement.
*
* @return array of SQL indexes
*/
int[] getSqlIndexes();
/**
* Returns a custom mapping adapter.
*
* @return mapping adapter
*/
MappingAdapter getAdapter();
/**
* True if the method return result is a collection type.
*
* @return uses collection type
*/
boolean usesCollection();
/**
* True if the method return result is either a primitive or an
* atomic value (like <code>String</code>).
*
* @return uses an atomic value
*/
boolean usesAtomic();
/**
* True if mapping is a key for a <code>Map</code>.
*
* @return is a map key
*/
boolean isMapKey();
/**
* Returns the type of the method return map key or null.
*
* @return map key type
*/
Class<?> getMapKeyType();
/**
* Returns the index of a parameter in the constructor or null.
*
* @return constructor parameter index
*/
Integer getConstructorParameter();
/**
* Returns the constructor or null.
*
* @return constructor
*/
Constructor<?> getConstructor();
/**
* Returns the static factory method or null.
*
* @return static factory method
*/
Method getStaticFactoryMethod();
/**
* Returns the user defined collection class or null.
*
* @return collection class
*/
Class<?> getCollectionClass();
/**
* Returns the initial collection size.
*
* @return initial collection size
*/
int getInitialCollectionCapacity();
}
| [
"renato@brunella.co.uk"
] | renato@brunella.co.uk |
0e35076aac4de81b844dfbba70d86cb44e54d46c | 9af6282e73df9a25dfb49a2b9262964b8a0bbb7f | /src/main/java/com/example/springboot_io_313/service/UserDetailsServiceImpl.java | 2f13c10801d300bf9cb43f51fc9781685ae197a5 | [] | no_license | in3des/springboot_io_313 | b8d3205ff18ce26dbc79abc49f071c0d672fb40c | 86b92ce7c3ded6111bd802313ee433885ead2138 | refs/heads/master | 2023-07-14T08:57:23.403560 | 2021-08-22T18:00:52 | 2021-08-22T18:00:52 | 392,054,367 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 1,153 | java | package com.example.springboot_io_313.service;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;
import com.example.springboot_io_313.dao.PersonDAO;
import com.example.springboot_io_313.entity.Person;
@Service
public class UserDetailsServiceImpl implements UserDetailsService {
// @Autowired
// private UserRepository userRepository;
private PersonDAO personDAO;
public UserDetailsServiceImpl(PersonDAO personDAO) {
this.personDAO = personDAO;
}
@Override
public UserDetails loadUserByUsername(String email) throws UsernameNotFoundException {
// Person person = userRepository.findPersonByEmail(email);
Person person = personDAO.findPersonByEmail(email);
// Person person = personDAO.findPersonByName(email);
if (person == null) {
throw new UsernameNotFoundException(String.format("User 's%' not found", email));
}
return person;
}
}
| [
"62700347+in3des@users.noreply.github.com"
] | 62700347+in3des@users.noreply.github.com |
2766076f2e81d0719f6f3e0c1f8563e107028053 | 51fa3cc281eee60058563920c3c9059e8a142e66 | /Java/src/testcases/CWE89_SQL_Injection/s01/CWE89_SQL_Injection__Environment_executeBatch_66b.java | 019bc3fa064b83686576d5b83700c53cc7de6bf6 | [] | no_license | CU-0xff/CWE-Juliet-TestSuite-Java | 0b4846d6b283d91214fed2ab96dd78e0b68c945c | f616822e8cb65e4e5a321529aa28b79451702d30 | refs/heads/master | 2020-09-14T10:41:33.545462 | 2019-11-21T07:34:54 | 2019-11-21T07:34:54 | 223,105,798 | 1 | 4 | null | null | null | null | UTF-8 | Java | false | false | 7,485 | java | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE89_SQL_Injection__Environment_executeBatch_66b.java
Label Definition File: CWE89_SQL_Injection.label.xml
Template File: sources-sinks-66b.tmpl.java
*/
/*
* @description
* CWE: 89 SQL Injection
* BadSource: Environment Read data from an environment variable
* GoodSource: A hardcoded string
* Sinks: executeBatch
* GoodSink: Use prepared statement and executeBatch (properly)
* BadSink : data concatenated into SQL statement used in executeBatch(), which could result in SQL Injection
* Flow Variant: 66 Data flow: data passed in an array from one method to another in different source files in the same package
*
* */
package testcases.CWE89_SQL_Injection.s01;
import testcasesupport.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.logging.Level;
public class CWE89_SQL_Injection__Environment_executeBatch_66b
{
public void badSink(String dataArray[] ) throws Throwable
{
String data = dataArray[2];
if (data != null)
{
String names[] = data.split("-");
int successCount = 0;
Connection dbConnection = null;
Statement sqlStatement = null;
try
{
dbConnection = IO.getDBConnection();
sqlStatement = dbConnection.createStatement();
for (int i = 0; i < names.length; i++)
{
/* POTENTIAL FLAW: data concatenated into SQL statement used in executeBatch(), which could result in SQL Injection */
sqlStatement.addBatch("update users set hitcount=hitcount+1 where name='" + names[i] + "'");
}
int resultsArray[] = sqlStatement.executeBatch();
for (int i = 0; i < names.length; i++)
{
if (resultsArray[i] > 0)
{
successCount++;
}
}
IO.writeLine("Succeeded in " + successCount + " out of " + names.length + " queries.");
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error getting database connection", exceptSql);
}
finally
{
try
{
if (sqlStatement != null)
{
sqlStatement.close();
}
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error closing Statament", exceptSql);
}
try
{
if (dbConnection != null)
{
dbConnection.close();
}
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error closing Connection", exceptSql);
}
}
}
}
/* goodG2B() - use goodsource and badsink */
public void goodG2BSink(String dataArray[] ) throws Throwable
{
String data = dataArray[2];
if (data != null)
{
String names[] = data.split("-");
int successCount = 0;
Connection dbConnection = null;
Statement sqlStatement = null;
try
{
dbConnection = IO.getDBConnection();
sqlStatement = dbConnection.createStatement();
for (int i = 0; i < names.length; i++)
{
/* POTENTIAL FLAW: data concatenated into SQL statement used in executeBatch(), which could result in SQL Injection */
sqlStatement.addBatch("update users set hitcount=hitcount+1 where name='" + names[i] + "'");
}
int resultsArray[] = sqlStatement.executeBatch();
for (int i = 0; i < names.length; i++)
{
if (resultsArray[i] > 0)
{
successCount++;
}
}
IO.writeLine("Succeeded in " + successCount + " out of " + names.length + " queries.");
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error getting database connection", exceptSql);
}
finally
{
try
{
if (sqlStatement != null)
{
sqlStatement.close();
}
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error closing Statament", exceptSql);
}
try
{
if (dbConnection != null)
{
dbConnection.close();
}
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error closing Connection", exceptSql);
}
}
}
}
/* goodB2G() - use badsource and goodsink */
public void goodB2GSink(String dataArray[] ) throws Throwable
{
String data = dataArray[2];
if (data != null)
{
String names[] = data.split("-");
int successCount = 0;
Connection dbConnection = null;
PreparedStatement sqlStatement = null;
try
{
/* FIX: Use prepared statement and executeBatch (properly) */
dbConnection = IO.getDBConnection();
sqlStatement = dbConnection.prepareStatement("update users set hitcount=hitcount+1 where name=?");
for (int i = 0; i < names.length; i++)
{
sqlStatement.setString(1, names[i]);
sqlStatement.addBatch();
}
int resultsArray[] = sqlStatement.executeBatch();
for (int i = 0; i < names.length; i++)
{
if (resultsArray[i] > 0)
{
successCount++;
}
}
IO.writeLine("Succeeded in " + successCount + " out of " + names.length + " queries.");
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error getting database connection", exceptSql);
}
finally
{
try
{
if (sqlStatement != null)
{
sqlStatement.close();
}
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error closing PreparedStatement", exceptSql);
}
try
{
if (dbConnection != null)
{
dbConnection.close();
}
}
catch (SQLException exceptSql)
{
IO.logger.log(Level.WARNING, "Error closing Connection", exceptSql);
}
}
}
}
}
| [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
9e2fae35409651d5a91fc2b58012bae241c24dda | 5b04f852bce5f95081c45d9464c97be496b5bfdc | /fe/fe-core/src/main/java/org/apache/doris/external/elasticsearch/MappingPhase.java | f736a9ee2fa5e7e1af27f8da388374ab33a02b55 | [
"Apache-2.0",
"BSD-3-Clause",
"bzip2-1.0.6",
"dtoa",
"MIT",
"PSF-2.0",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"OpenSSL"
] | permissive | soaped/incubator-doris | 37af3a0e2270005707a02f652c37d2b0b0bdcd06 | e285d091571251c69dc3f09334297454c25cbf7d | refs/heads/master | 2022-04-04T20:16:18.236965 | 2022-03-25T07:18:43 | 2022-03-25T07:18:43 | 219,090,550 | 0 | 0 | Apache-2.0 | 2019-11-02T02:04:33 | 2019-11-02T02:04:33 | null | UTF-8 | Java | false | false | 7,125 | java | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
package org.apache.doris.external.elasticsearch;
import org.apache.doris.catalog.Column;
import org.apache.doris.catalog.EsTable;
import org.apache.commons.lang3.StringUtils;
import org.json.simple.JSONObject;
import org.json.simple.JSONValue;
import java.util.Iterator;
/**
* Get index mapping from remote ES Cluster, and resolved `keyword` and `doc_values` field
* Later we can use it to parse all relevant indexes
*/
public class MappingPhase implements SearchPhase {
private EsRestClient client;
// json response for `{index}/_mapping` API
private String jsonMapping;
private boolean includeTypeName = false;
public MappingPhase(EsRestClient client) {
this.client = client;
}
@Override
public void preProcess(SearchContext context) {
if (context.version() != null && context.version().onOrAfter(EsMajorVersion.V_7_X)) {
includeTypeName = true;
}
}
@Override
public void execute(SearchContext context) throws DorisEsException {
jsonMapping = client.getMapping(context.sourceIndex(), includeTypeName);
}
@Override
public void postProcess(SearchContext context) {
resolveFields(context, jsonMapping);
}
/**
* Parse the required field information from the json
*
* @param searchContext the current associated column searchContext
* @param indexMapping the return value of _mapping
* @return fetchFieldsContext and docValueFieldsContext
* @throws Exception
*/
public void resolveFields(SearchContext searchContext, String indexMapping) throws DorisEsException {
JSONObject jsonObject = (JSONObject) JSONValue.parse(indexMapping);
// the indexName use alias takes the first mapping
Iterator<String> keys = jsonObject.keySet().iterator();
String docKey = keys.next();
JSONObject docData = (JSONObject) jsonObject.get(docKey);
JSONObject mappings = (JSONObject) docData.get("mappings");
JSONObject rootSchema = (JSONObject) mappings.get(searchContext.type());
JSONObject properties;
// After (include) 7.x, type was removed from ES mapping, default type is `_doc`
// https://www.elastic.co/guide/en/elasticsearch/reference/7.0/removal-of-types.html
if (rootSchema == null) {
if (searchContext.type().equals("_doc") == false) {
throw new DorisEsException("index[" + searchContext.sourceIndex() + "]'s type must be exists, "
+ " and after ES7.x type must be `_doc`, but found ["
+ searchContext.type() + "], for table ["
+ searchContext.esTable().getName() + "]");
}
properties = (JSONObject) mappings.get("properties");
} else {
properties = (JSONObject) rootSchema.get("properties");
}
if (properties == null) {
throw new DorisEsException("index[" + searchContext.sourceIndex() + "] type[" + searchContext.type() + "] mapping not found for the ES Cluster");
}
for (Column col : searchContext.columns()) {
String colName = col.getName();
// if column exists in Doris Table but no found in ES's mapping, we choose to ignore this situation?
if (!properties.containsKey(colName)) {
continue;
}
JSONObject fieldObject = (JSONObject) properties.get(colName);
resolveKeywordFields(searchContext, fieldObject, colName);
resolveDocValuesFields(searchContext, fieldObject, colName);
}
}
// get a field of keyword type in the fields
private void resolveKeywordFields(SearchContext searchContext, JSONObject fieldObject, String colName) {
String fieldType = (String) fieldObject.get("type");
// string-type field used keyword type to generate predicate
// if text field type seen, we should use the `field` keyword type?
if ("text".equals(fieldType)) {
JSONObject fieldsObject = (JSONObject) fieldObject.get("fields");
if (fieldsObject != null) {
for (Object key : fieldsObject.keySet()) {
JSONObject innerTypeObject = (JSONObject) fieldsObject.get((String) key);
// just for text type
if ("keyword".equals((String) innerTypeObject.get("type"))) {
searchContext.fetchFieldsContext().put(colName, colName + "." + key);
}
}
}
}
}
private void resolveDocValuesFields(SearchContext searchContext, JSONObject fieldObject, String colName) {
String fieldType = (String) fieldObject.get("type");
String docValueField = null;
if (EsTable.DEFAULT_DOCVALUE_DISABLED_FIELDS.contains(fieldType)) {
JSONObject fieldsObject = (JSONObject) fieldObject.get("fields");
if (fieldsObject != null) {
for (Object key : fieldsObject.keySet()) {
JSONObject innerTypeObject = (JSONObject) fieldsObject.get((String) key);
if (EsTable.DEFAULT_DOCVALUE_DISABLED_FIELDS.contains((String) innerTypeObject.get("type"))) {
continue;
}
if (innerTypeObject.containsKey("doc_values")) {
boolean docValue = (Boolean) innerTypeObject.get("doc_values");
if (docValue) {
docValueField = colName;
}
} else {
// a : {c : {}} -> a -> a.c
docValueField = colName + "." + key;
}
}
}
} else {
// set doc_value = false manually
if (fieldObject.containsKey("doc_values")) {
Boolean docValue = (Boolean) fieldObject.get("doc_values");
if (!docValue) {
return;
}
}
docValueField = colName;
}
// docValueField Cannot be null
if (StringUtils.isNotEmpty(docValueField)) {
searchContext.docValueFieldsContext().put(colName, docValueField);
}
}
}
| [
"noreply@github.com"
] | soaped.noreply@github.com |
0c681c74746b289cba3c68fc1cc4d579dd94e8e7 | c31101e3513764ca8a09a3a9f0811e6fcbeaad6e | /karafboot-patch/src/main/java/ec/devnull/springboot/patch/JavassistTransformer.java | deca623ecdd1f6f69a3436848165b4e0e53eac79 | [
"Apache-2.0"
] | permissive | klebeer/karaf-springboot | b07761bd31e6b658d0e44ca9a7c262a4cd19d4b5 | d09941a48afbf18689bff77bedb81e6d191fbce3 | refs/heads/master | 2023-08-31T03:47:45.824720 | 2023-04-01T02:05:18 | 2023-04-01T02:05:18 | 133,413,358 | 21 | 6 | Apache-2.0 | 2023-08-27T05:52:49 | 2018-05-14T19:47:15 | Java | UTF-8 | Java | false | false | 6,614 | java | package ec.devnull.springboot.patch;
import javassist.*;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
/**
* Parche en bytecode para las clases ResourceUtils y StandardRoot para subir en karaf un Uber Jar de springboot
*
* @author Kleber Ayala
*/
public class JavassistTransformer {
public static final String METHOD = "method";
public static final String METHOD_PARAMS = "methodParams";
public static final String BODY_REPLACEMENT = "bodyReplacement";
private final ClassPool pool = ClassPool.getDefault();
public static void main(String[] args) throws Exception {
File classesDir = new File(args[0]);
new JavassistTransformer().instrumentClassesIn(classesDir);
}
private void instrumentClassesIn(File classesDir) throws NotFoundException {
pool.appendClassPath(classesDir.getPath());
Map<String, Map<String, Object>> targetClasses = getClasses();
try {
patchClasses(classesDir, targetClasses);
} catch (Exception e) {
e.printStackTrace();
}
}
public void patchClasses(File classesDir, Map<String, Map<String, Object>> targetClasses) throws Exception {
targetClasses.entrySet().stream().forEach(
patch ->
{
try {
patchMethod(classesDir, patch.getKey(), patch.getValue());
} catch (Exception e) {
e.printStackTrace();
}
});
CtClass nodeClass = pool.get("org.springframework.core.io.ClassPathResource");
final CtClass stringClass = pool.get("java.lang.String");
final CtClass classloaderClass = pool.get("java.lang.ClassLoader");
CtConstructor ctConstructor = nodeClass.getDeclaredConstructor(new CtClass[]{stringClass, classloaderClass});
ctConstructor.setBody("{ org.springframework.util.Assert.notNull($1, \"Path must not be null\"); java.lang.String pathToUse = org.springframework.util.StringUtils.cleanPath($1); if (pathToUse.equals(\"\")) { pathToUse = \"/\";} this.path = pathToUse; this.classLoader = classLoader != null ? classLoader : org.springframework.util.ClassUtils.getDefaultClassLoader(); }");
nodeClass.writeFile(classesDir.getPath());
}
private void patchMethod(File classesDir, String targetClass, Map<String, Object> params) throws Exception {
final CtClass nodeClass = pool.get(targetClass);
CtMethod ctMethod = null;
if (params.get(METHOD_PARAMS) == null) {
ctMethod = nodeClass.getDeclaredMethod((String) params.get(METHOD));
} else {
ctMethod = nodeClass.getDeclaredMethod((String) params.get(METHOD), (CtClass[]) params.get(METHOD_PARAMS));
}
String body = (String) params.get(BODY_REPLACEMENT);
ctMethod.setBody(body);
nodeClass.writeFile(classesDir.getPath());
}
private Map<String, Map<String, Object>> getClasses() throws NotFoundException {
Map<String, Map<String, Object>> targetClasses = new HashMap<>();
Map<String, Object> springPatch = new HashMap<>();
final CtClass stringClass = pool.get("java.lang.String");
final CtClass urlClass = pool.get("java.net.URL");
springPatch.put(METHOD, "getFile");
springPatch.put(METHOD_PARAMS, new CtClass[]{urlClass, stringClass});
springPatch.put(BODY_REPLACEMENT, "{try {return new java.io.File(toURI($1).getSchemeSpecificPart());}catch (java.net.URISyntaxException ex) {return new java.io.File($1.getFile());}}");
targetClasses.put("org.springframework.util.ResourceUtils", springPatch);
Map<String, Object> resourcePatch = new HashMap<>();
final CtClass urlResource = pool.get("org.springframework.core.io.Resource");
resourcePatch.put(METHOD, "doFindPathMatchingFileResources");
resourcePatch.put(METHOD_PARAMS, new CtClass[]{urlResource, stringClass});
resourcePatch.put(BODY_REPLACEMENT, "{ ec.devnull.springboot.patch.BundleURL bundleURL=new ec.devnull.springboot.patch.BundleURL(); return bundleURL.findResources($1,$2); }");
targetClasses.put("org.springframework.core.io.support.PathMatchingResourcePatternResolver", resourcePatch);
Map<String, Object> tomcatPatch = new HashMap<>();
tomcatPatch.put(METHOD, "registerURLStreamHandlerFactory");
tomcatPatch.put(BODY_REPLACEMENT, "{ }");
targetClasses.put("org.apache.catalina.webresources.StandardRoot", tomcatPatch);
ClassClassPath ccpath = new ClassClassPath(org.hibernate.boot.archive.spi.ArchiveContext.class);
pool.insertClassPath(ccpath);
Map<String, Object> hibernatePatch = new HashMap<>();
hibernatePatch.put(METHOD, "buildArchiveDescriptor");
hibernatePatch.put(METHOD_PARAMS, new CtClass[]{urlClass, stringClass});
hibernatePatch.put(BODY_REPLACEMENT, "{ final String protocol = $1.getProtocol();\n" +
" if ( \"jar\".equals( protocol ) ) {\n" +
" return new org.hibernate.boot.archive.internal.JarProtocolArchiveDescriptor( this, $1, $2 );\n" +
" }\n" +
" else if ( org.hibernate.internal.util.StringHelper.isEmpty( protocol )\n" +
" || \"file\".equals( protocol )\n" +
" || \"vfszip\".equals( protocol )\n" +
" || \"vfsfile\".equals( protocol ) ) {\n" +
" final java.io.File file = new java.io.File( extractLocalFilePath( $1 ) );\n" +
" if ( file.isDirectory() ) {\n" +
" return new org.hibernate.boot.archive.internal.ExplodedArchiveDescriptor( this, $1, $2 );\n" +
" }\n" +
" else {\n" +
" return new org.hibernate.boot.archive.internal.JarFileBasedArchiveDescriptor( this, $1, $2 );\n" +
" }\n" +
" }\n" +
" else {\n" +
" //let's assume the $1 can return the jar as a zip stream\n" +
" return new ec.devnull.springboot.patch.JarInputStreamBasedArchiveDescriptor( this, $1, $2 );\n" +
" } }");
targetClasses.put("org.hibernate.boot.archive.internal.StandardArchiveDescriptorFactory", hibernatePatch);
return targetClasses;
}
}
| [
"kleber.ayala@gmail.com"
] | kleber.ayala@gmail.com |
ac5777fab6b4eb319741f1089b79ff178d7e9818 | a746569beee38be75feb1ad631d43807e8935d94 | /src/main/java/servlets/SignOutServlet.java | 787e0a4f88d0da91b78cebc5e8b01590dc04df47 | [] | no_license | Sheventon/SemesterWorkSport | a6711fb4c5ba130dd648486db6ead94e473115aa | 6db99e847701b1be57cea5bce22bf7f6a8c0e9cb | refs/heads/master | 2023-01-06T17:23:35.240861 | 2020-11-07T02:19:50 | 2020-11-07T02:19:50 | 296,614,132 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 776 | java | package servlets;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
import java.io.IOException;
/**
* created: 16-10-2020 - 22:02
* project: SemestrWorkSport
*
* @author dinar
* @version v0.1
*/
@WebServlet("/out")
public class SignOutServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession();
Cookie cookie = new Cookie("session_id", "deleted");
cookie.setMaxAge(0);
response.addCookie(cookie);
session.removeAttribute("user_id");
session.invalidate();
response.sendRedirect("/home");
}
}
| [
"dinar.shagaliev2002@gmail.com"
] | dinar.shagaliev2002@gmail.com |
7f40278db9d6468d712830d9d5851a0154aae79b | 565bc772a164f771ff9923de86edd6ce6e8875a0 | /spike/android-testing/src/uk/ac/aber/cs221/test/MainActivity_CameraTest.java | 38c146c08472de76093440c43338fd93689046c0 | [] | no_license | Massacrer/cs221-project-backup | 450eca3e6f48e4cdda94ed086e699d9067e3f776 | 63468c1ba13f4ba1b7e3605da56bdbf658003ce8 | refs/heads/master | 2020-12-03T09:17:06.388125 | 2015-01-27T14:45:22 | 2015-01-27T14:45:22 | 24,894,605 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 8,699 | java | package uk.ac.aber.cs221.test;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import uk.ac.aber.cs221.test.R;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.graphics.drawable.BitmapDrawable;
import android.media.ExifInterface;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
// TODO: prototype camera functionality - open system camera app, get picture
public class MainActivity_CameraTest extends Activity {
private File currentImage;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main_camera_test);
findViewById(R.id.cameraButton).setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
takePicture();
}
});
findViewById(R.id.galleryButton).setOnClickListener(
new OnClickListener() {
public void onClick(View v) {
selectPicture();
}
});
}
private void takePicture() {
String now = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
// vFile picture = new File(this.getFilesDir(), "img_" + now);
Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
try {
File extDir = Environment
.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
this.currentImage = new File(extDir, now + ".jpg");
currentImage.createNewFile();
/*
* this.currentImage = File.createTempFile("img_", ".jpg",
* getFilesDir()
*
* extDir);
*/
cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT,
Uri.fromFile(currentImage));
Uri uri = new Uri.Builder().path(currentImage.getPath()).build();
// DEBUG
((TextView) findViewById(R.id.rmgr_RecName)).setText(uri.toString());
Log.i("CS221_test", uri.toString());
}
catch (IOException e) {
Toast.makeText(this, "Could not save image file", Toast.LENGTH_LONG)
.show();
return;
}
if (cameraIntent.resolveActivity(getPackageManager()) != null) {
startActivityForResult(cameraIntent, 1);
}
else {
Toast.makeText(this, "No camera app available", Toast.LENGTH_LONG)
.show();
}
}
private void selectPicture() {
Intent intent = new Intent(Intent.ACTION_PICK,
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
intent.setType("image/*");
startActivityForResult(Intent.createChooser(intent, "Select File"), 2);
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == RESULT_OK) {
switch (requestCode) {
// 1 -> camera result
case 1: {
Intent mediaScanIntent = new Intent(
Intent.ACTION_MEDIA_SCANNER_SCAN_FILE);
Uri contentUri = Uri.fromFile(currentImage);
mediaScanIntent.setData(contentUri);
this.sendBroadcast(mediaScanIntent);
displayBitmap();
break;
}
// 2 -> gallery result
case 2: {
Uri image = data.getData();
String[] path = { MediaStore.Images.Media.DATA };
Cursor cursor = getContentResolver().query(image, path, null,
null, null);
cursor.moveToFirst();
currentImage = new File(cursor.getString(cursor
.getColumnIndex(path[0])));
cursor.close();
displayBitmap();
break;
}
}
}
}
private void displayBitmap() {
ImageView imageView = (ImageView) findViewById(R.id.imageView1);
imageView.setVisibility(View.VISIBLE);
BitmapFactory.Options bmOptions = new BitmapFactory.Options();
bmOptions.inJustDecodeBounds = true;
BitmapFactory.decodeFile(currentImage.getPath(), bmOptions);
/*
* int scaleFactor = calculateInSampleSize(bmOptions,
* imageView.getWidth(), imageView.getHeight());
*/
/*
* int photoW = bmOptions.outWidth; int photoH = bmOptions.outHeight; int
* scaleFactor = Math.min(photoW / imageView.getWidth(), photoH /
* imageView.getHeight());
*/
float rotation = 0;
try {
ExifInterface eif = new ExifInterface(currentImage.getPath());
String orientation = eif.getAttribute(ExifInterface.TAG_ORIENTATION);
if (orientation.equals("6"))
rotation = 90;
if (orientation.equals("3"))
rotation = 180;
if (orientation.equals("8"))
rotation = 270;
}
catch (IOException e) {
}
boolean sideways = rotation == 90 || rotation == 270;
int vW = imageView.getWidth();
int vH = imageView.getHeight();
int scaleFactor = bmOptions.inSampleSize = Math.max(bmOptions.outWidth
/ vW, bmOptions.outHeight / vH);
Toast.makeText(this, "scale: " + scaleFactor, Toast.LENGTH_LONG).show();
bmOptions.inJustDecodeBounds = false;
// bmOptions.inSampleSize = scaleFactor;
bmOptions.inPurgeable = true;
Bitmap bitMap = BitmapFactory.decodeFile(currentImage.getPath(),
bmOptions);
Matrix matrix = new Matrix();
matrix.preRotate(rotation);
bitMap = Bitmap.createBitmap(bitMap, 0, 0, bitMap.getWidth(),
bitMap.getHeight(), matrix, true);
bitMap = Bitmap.createScaledBitmap(bitMap, bitMap.getWidth()
/ scaleFactor, bitMap.getHeight() / scaleFactor, false);
imageView.setImageBitmap(bitMap);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
menu.add(Menu.NONE, 42, 0, "RecordingManager");
menu.add(Menu.NONE, 43, 0, "Main");
menu.add(Menu.NONE, 44, 0, "New Recording");
menu.add(Menu.NONE, 45, 0, "Recording");
menu.add(Menu.NONE, 46, 0, "Record Species");
menu.add(Menu.NONE, 47, 0, "Photo Picker");
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
Class clazz = null;
switch (id) {
case R.id.action_settings: {
clazz = SettingsActivity.class;
break;
}
case 42: {
clazz = RecordingManager.class;
break;
}
case 43: {
clazz = MainActivity.class;
break;
}
case 44: {
clazz = NewRecordingActivity.class;
break;
}
case 45: {
clazz = RecordingActivity.class;
break;
}
case 46: {
clazz = RecordSpeciesActivity.class;
break;
}
case 47: {
clazz = PhotoPickerActivity.class;
break;
}
}
if (clazz != null) {
this.startActivity(new Intent(this, clazz));
return true;
}
return super.onOptionsItemSelected(item);
}
}
| [
"nazerb@googlemail.com"
] | nazerb@googlemail.com |
f803aee95ac0ff5e8e26e4c04c1e9d4eb76ec681 | da93e909039585e1584bc99dfb01dc083490fe5b | /PatronesDisenho/src/pgk_ChainOfResponsability/InterfaceAyuda.java | f9d507e93418f143f8f6a5df233fbcac7a8d29f2 | [] | no_license | nielsenpuma/PracticaPatrones | ab83780834a76f37473df5e5d15eaed8c197ae62 | 44983a29559b83ca26a415dc3a9acea2a5df46ac | refs/heads/master | 2020-04-06T06:54:59.766343 | 2016-08-23T03:46:18 | 2016-08-23T03:46:18 | 64,811,544 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 343 | java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pgk_ChainOfResponsability;
/**
*
* @author nielsenpumajihuallanca
*/
public interface InterfaceAyuda {
public void getAyuda(int tipoAyuda);
}
| [
"nielsenpumajihuallanca@MacBook-Pro-de-Nielsen.local"
] | nielsenpumajihuallanca@MacBook-Pro-de-Nielsen.local |
b34a67bcc29ec23b3074ac2b3fc798d6755308d6 | e45dabef127bf9d7c539a014b36c19c1f9f7e077 | /src/com/yayo/warriors/module/props/type/BlinkType.java | 09d2d457d61e12d8842f3d76d4703935d332bae0 | [] | no_license | zyb2013/Warriors | aaa26c89dde6b5777a8fcd3674d1ee61346ffda7 | 6ac80f1868d749295c298a36ad4b6425034d358f | refs/heads/master | 2021-01-01T19:46:57.730694 | 2014-01-17T01:41:45 | 2014-01-17T01:41:45 | 15,986,861 | 5 | 10 | null | null | null | null | UTF-8 | Java | false | false | 254 | java | package com.yayo.warriors.module.props.type;
/**
* 装备闪光效果
* @author liuyuhua
*/
public enum BlinkType {
/** 0 - 没有任何效果*/
NONE,
/** 1 - 全部装备7星 闪光*/
SEVEN,
/** 2 - 全部装备11星 闪光*/
ELEVEN;
}
| [
"zhuyuanbiao2013@gmail.com"
] | zhuyuanbiao2013@gmail.com |
e43d43f45bd5a0ce3de9a9517f5db16c86461da4 | 586bb27406b8e48e8844b833d2130d8a18558cd1 | /src/com/base/engine/rendering/resourceManagement/TextureResource.java | d1aa50f01a42d498cef2fb0b206085d283ec8fa7 | [
"MIT"
] | permissive | RagnarrIvarssen/Assimp-Tutorial-LWJGL-3 | 2432a9a96b57020b7f304e4b7351edcd8558e1a3 | b2f425461ba825a51be1409b682daa74635a4128 | refs/heads/master | 2021-07-13T11:35:37.887144 | 2017-10-09T11:58:53 | 2017-10-09T11:58:53 | 106,276,282 | 10 | 4 | null | null | null | null | UTF-8 | Java | false | false | 1,168 | java | /*
* Copyright (C) 2014 Benny Bobaganoosh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.base.engine.rendering.resourceManagement;
import static org.lwjgl.opengl.GL11.glGenTextures;
import static org.lwjgl.opengl.GL15.glDeleteBuffers;
public class TextureResource
{
private int m_id;
private int m_refCount;
public TextureResource()
{
this.m_id = glGenTextures();
this.m_refCount = 1;
}
@Override
protected void finalize()
{
glDeleteBuffers(m_id);
}
public void AddReference()
{
m_refCount++;
}
public boolean RemoveReference()
{
m_refCount--;
return m_refCount == 0;
}
public int GetId() { return m_id; }
}
| [
"noreply@github.com"
] | RagnarrIvarssen.noreply@github.com |
7da04b1c20f03dc2adc26bb881830f053ecc0321 | 88d421409ad168b4b6dfeb5b2e57f8186fe2dce4 | /src/main/java/com/isa/berkeley_starter/dao/EntityDao.java | fe95cac2abc49c39be98cae131a76ccaa3d84388 | [] | no_license | isaolmez/berkeley_starter | d557e9d2b76d4d619566322306f11eee12a9a7f2 | c7cf88a786ec36a9bc7089d0f0c6641a42f5f680 | refs/heads/master | 2021-01-09T20:12:18.260402 | 2016-08-05T11:13:45 | 2016-08-05T11:13:45 | 65,012,649 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 164 | java | package com.isa.berkeley_starter.dao;
public interface EntityDao<T, V> {
public V get(T key);
public void set(T key, V value);
public void delete(T key);
}
| [
"isaolmez@gmail.com"
] | isaolmez@gmail.com |
de0c463cdefe68c09f388123861b4090a56bea63 | 2e40875090241f806d412afa568b5789604e3668 | /shop/spring-api/springboot-kafka/src/main/java/com/xuzhihao/shop/KafkaApplication.java | 0200452de86f6279432d713626f0f16d622c344c | [] | no_license | zhoudy-github/shop | 1a70adfb4058c692fd21468345d177604df954af | 71441c0ea0db64f95e884b76aaf752b655b7aa7a | refs/heads/master | 2023-03-12T22:52:15.743581 | 2021-03-01T15:18:52 | 2021-03-01T15:18:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 652 | java | package com.xuzhihao.shop;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 整合KafkaTemplate<String, Object>
*
* @author Administrator
*
*/
@SpringBootApplication
public class KafkaApplication {
public static void main(String[] args) {
SpringApplication.run(KafkaApplication.class, args);
}
}
//docker run -d --name kafka -p 9092:9092 -e KAFKA_BROKER_ID=0 -e KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 --link zookeeper -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://172.17.17.80:9092 -e KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092 -t wurstmeister/kafka
| [
"xcg992224@163.com"
] | xcg992224@163.com |
88e8116a4c0c0702d887b0fd120c57cdf73f8366 | eab800540bdffd259df586ccb75116cdda81e54a | /app/src/main/java/com/opet/diogo/instagramclone/Photo.java | 258ba9d8493427cf2bf0541b90f93bfd7b1f3f37 | [] | no_license | Animaleante/InstagramClone | 180944077f36fd8f176aab3c505b66cf021f4c5e | c9925d1d362a047875f1c909cc62fa4de45e1df5 | refs/heads/master | 2020-03-29T17:59:40.941899 | 2018-10-01T23:41:09 | 2018-10-01T23:41:09 | 150,189,507 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 673 | java | package com.opet.diogo.instagramclone;
/**
* Created by opet on 24/09/2018.
*/
public class Photo {
private String photoPath;
private String photoComment;
public Photo() {}
public Photo(String photoPath, String photoComment) {
this.photoPath = photoPath;
this.photoComment = photoComment;
}
public String getPhotoPath() {
return photoPath;
}
public void setPhotoPath(String photoPath) {
this.photoPath = photoPath;
}
public String getPhotoComment() {
return photoComment;
}
public void setPhotoComment(String photoComment) {
this.photoComment = photoComment;
}
}
| [
"opet@Academico.edu"
] | opet@Academico.edu |
cd6c88e722dcb0c4e001e2fce69ea1d9d0191075 | 42ad314e8b3a2ff113dedf3c527bb09d7a41ec51 | /src/c11_holding/Tasks.java | 57c99beea535cc82bf377350b51222d9ba904a72 | [] | no_license | saimon494/Thinking-in-Java | e49c8e6b629d0c4afc93ba46d0ab6149dc992444 | c9fdb463f420a6cd030b788ce03d78af822838b9 | refs/heads/master | 2021-01-18T18:46:38.209028 | 2017-10-30T19:31:08 | 2017-10-30T19:31:08 | 100,524,152 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 72 | java | package c11_holding;
// 4, 7, 9, 10, 11 - todo
public class Tasks {
}
| [
"saimon.494@gmail.com"
] | saimon.494@gmail.com |
8a8f209fc904b646ce12cb19b9097bf164459a3d | d1a6d1e511df6db8d8dd0912526e3875c7e1797d | /genny_JavaWithoutLambdasApi21_ReducedClassCount/applicationModule/src/main/java/applicationModulepackageJava9/Foo651.java | 58d6e459b991746115bfe2398614e1317e072073 | [] | no_license | NikitaKozlov/generated-project-for-desugaring | 0bc1443ab3ddc84cd289331c726761585766aea7 | 81506b3711004185070ca4bb9a93482b70011d36 | refs/heads/master | 2020-03-20T00:35:06.996525 | 2018-06-12T09:30:37 | 2018-06-12T09:30:37 | 137,049,317 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 506 | java | package applicationModulepackageJava9;
public class Foo651 {
public void foo0() {
new applicationModulepackageJava9.Foo650().foo9();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
foo3();
}
public void foo5() {
foo4();
}
public void foo6() {
foo5();
}
public void foo7() {
foo6();
}
public void foo8() {
foo7();
}
public void foo9() {
foo8();
}
}
| [
"nikita.e.kozlov@gmail.com"
] | nikita.e.kozlov@gmail.com |
a7a1bf883a032a32e82794f3a36ec4459be84ae6 | 244ea45e053d41f2ffab896e5d0bd3fc5ee359ce | /java-basic-practice/src/main/java/javaPractice/thread/safe/automic/AutomicDemo.java | c2846e5379d4253ea07c3db1a148f5ea0e7c95bd | [] | no_license | easyying/java-practice | 4d1fedb824099eed51747054ad616877269254de | f55e25eb984bfe1e746a99196d225eec45df6061 | refs/heads/master | 2022-12-19T04:26:24.846264 | 2020-09-22T10:59:18 | 2020-09-22T10:59:18 | 295,684,540 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 804 | java | package javaPractice.thread.safe.automic;
import java.util.concurrent.atomic.AtomicInteger;
public class AutomicDemo {
public static void main(String[] args) {
/**
* 原子类:
*/
AtomicInteger ai = new AtomicInteger(0);
System.out.println("获取当前的值"+ ai.get());//获取当前的值
System.out.println("并设置新的值"+ai.getAndSet(5));//获取当前的值,并设置新的值
System.out.println("自增"+ai.getAndIncrement());//获取当前的值,自增
System.out.println("自减"+ai.getAndDecrement());//获取当前的值,自减
System.out.println("加上预期的值"+ai.getAndAdd(10));//获取当前的值,并加上预期的值
System.out.println("获取当前的值"+ai.get());
}
}
| [
"124763198@qq.com"
] | 124763198@qq.com |
b0031dceda61804849923a14a5515a6032ead2f1 | fe00518e6c8ec4869075f8164cea92bd4d643f64 | /src/entity/Cliente.java | 3e24b4e7e53abf217190bbe2bdd3a14601836027 | [] | no_license | TIvander/Java_project-Turismo | c231ac1538b2f96e985bfddaefc7d2b9df460fc1 | 813d10b1d5c715bac06205fb4dfd2cdb280a1c1e | refs/heads/master | 2022-11-27T10:58:33.003860 | 2020-08-08T21:39:58 | 2020-08-08T21:39:58 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | Java | false | false | 1,279 | java | package entity;
import java.util.ArrayList;
public class Cliente {
private String nome;
private String cpf;
private String telefone;
public ArrayList<Orcamento> orcamento = new ArrayList<>();
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public String getCpf() {
return cpf;
}
public void setCpf(String cpf) {
this.cpf = cpf;
}
public String getTelefone() {
return telefone;
}
public void setTelefone(String telefone) {
this.telefone = telefone;
}
public void imprimirExtratoOrcamento(Cliente cliente, Orcamento orcamento) {
System.out.println(" -- EXTRATO DE ORÇAMENTOS --" + "\n");
System.out.printf("CLIENTE: %S \nDestino: '%S' \nN°Passageiros:'%d' - Quilometragem:'%.2f.km' - Dias de viajem:'%d dias'\nValor Total: R$%.2f por pessoa.\n" ,
cliente.getNome(),
orcamento.destino,
orcamento.qtdPassageiro,
orcamento.totalKm*2,
(orcamento.dataFim-orcamento.dataInicio)+1,
orcamento.valorTotal);
System.out.printf("\n____________________________________________________________________________________\n\n");
}
}
| [
"vander.01010@hotmail.com"
] | vander.01010@hotmail.com |
8cf6fdf476ba4bec2c97ac1d8f637d0299f50820 | 4712259d610f6e9c87e6aecf0296d7eca9208530 | /Triton_VO/src/com/aug/triton/db/dao/SpectraReadingDAO.java | ea9fbc0056623a851e634592755afac025488e1a | [] | no_license | MaxxLi/DataTrans | 151a2a6c3fa94836559225021ffaa9b3b2b9014d | fbf73163bfea6e763a23662e6ec6589417fa1cce | refs/heads/master | 2021-01-15T11:43:19.894943 | 2013-12-13T14:43:43 | 2013-12-13T14:43:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 776 | java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.aug.triton.db.dao;
import com.aug.triton.db.remoteentity.SpectraReading;
import com.aug.triton.db.exception.AppException;
import java.util.List;
/**
*
* @author AUG
*/
public interface SpectraReadingDAO {
SpectraReading create(SpectraReading spectraReading) throws AppException;
SpectraReading get(Long id) throws AppException;
void save(SpectraReading spectraReading) throws AppException;
void delete(SpectraReading spectraReading) throws AppException;
List<SpectraReading> listAll() throws AppException;
Long maxID() throws AppException;
List<SpectraReading> listByID(Long firstID, Long lastID ) throws AppException;
}
| [
"jiahao7814961@hotmail.com"
] | jiahao7814961@hotmail.com |
d43b39cc05d8abe26712e7811e939eaa7c03814d | dec23951e705c9e4e6be896e22739b2d48dbfcd0 | /RegistroOfertasDCM/src/net/gefco/filtroseguridad/FiltroSeguridad.java | 77b769356433b9b2a004994d886a4aae0fe157b3 | [] | no_license | miguelhenar/Proyectos | bc591c635759cf928c7375504030aa3013f55a40 | 38ad9d8e666491c266d35334632b3a3d6c7201b1 | refs/heads/master | 2021-01-06T20:44:10.513020 | 2017-08-09T11:35:05 | 2017-08-09T11:35:05 | 99,551,261 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,494 | java | package net.gefco.filtroseguridad;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import net.gefco.bbean.PermisosMenuBB;
import net.gefco.modelo.Usuario;
public class FiltroSeguridad implements Filter {
public FiltroSeguridad() {
}
public void destroy() {
}
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
HttpServletRequest rq = (HttpServletRequest) request;
HttpServletResponse rp = (HttpServletResponse) response;
HttpSession sesion = rq.getSession(true);
Usuario usr = (Usuario) sesion.getAttribute("usuario");
PermisosMenuBB permisos = (PermisosMenuBB) sesion.getAttribute("permisosMenuBB");
String recurso = rq.getRequestURI();
if(usr!=null && usr.getUsua_codigo()!=0 && permisos.tienePermiso(recurso))
chain.doFilter(request, response);
else{
System.out.println("FUERA!");
rp.sendRedirect("../faces/login.jspx");
}
}
/**
* @see Filter#init(FilterConfig)
*/
public void init(FilterConfig fConfig) throws ServletException {
// Auto-generated method stub
}
}
| [
"ge65060@gefco.net"
] | ge65060@gefco.net |
e5364c340e72b212403c808b877e02e9ec2d9710 | 268fce3684f168d992be69b3dd11df5a55820e68 | /lims-domain/src/main/java/nl/runnable/lims/security/UserHelper.java | b6bc5e8ed81f796a3e228a12ba0fbd347a734827 | [] | no_license | grebbel/anaconda-java | d051c36ef3558eec5c30c9ea7970b2cf985973cc | 2d272118e0e7341d8c195b097fd2507756ec7f5b | refs/heads/master | 2021-01-19T06:26:20.061947 | 2012-07-30T09:22:25 | 2012-07-30T09:22:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 975 | java | package nl.runnable.lims.security;
import javax.annotation.ManagedBean;
import nl.runnable.lims.domain.User;
import org.springframework.security.authentication.RememberMeAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
/**
* Helper for {@link User}s.
*
* @author Laurens Fridael
*
*/
@ManagedBean
public class UserHelper {
/**
* Obtains the User that is currently logged in;
*
* @return The current {@link User} or null if no User has been logged in.
*/
public User getCurrentUser() {
User user = null;
final Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
if (authentication instanceof RememberMeAuthenticationToken) {
user = ((CustomUserDetails) authentication.getPrincipal()).getUser();
} else if (authentication != null) {
user = (User) authentication.getPrincipal();
}
return user;
}
}
| [
"lfridael@xs4all.nl"
] | lfridael@xs4all.nl |
0144b6f2bdb421609df3caa2580e973fd85a791c | b0f9ae1cc77ddb772054dfa03c5547b830f6dab0 | /src/main/java/com/anil/recipe/domain/Ingredient.java | 1ebf19a684cc1d8c1e8e3b71d7dbac25e1a02eea | [] | no_license | anilDesaiRamesh/spring5-recipe-app | 9b5a621a06f704ef3feb81d20a1faef2dcc1fa77 | ce7302ceedcc709eeeb0bb413256ab4034b6a377 | refs/heads/master | 2020-04-04T14:56:58.720736 | 2018-11-11T17:57:14 | 2018-11-11T17:57:14 | 156,019,399 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,321 | java | /**
*
*/
package com.anil.recipe.domain;
import java.math.BigDecimal;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import com.anil.recipe.domain.commands.IngredientCommand;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author Anil_Ramesh
*
*/
@Data
@EqualsAndHashCode(exclude = "uom")
@Entity
public class Ingredient {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String description;
private BigDecimal amount;
@OneToOne(fetch = FetchType.EAGER)
private UnitOfMeasure uom;
@ManyToOne
private Recipe recipe;
public Ingredient(String descritpion, BigDecimal amount, UnitOfMeasure uom) {
// TODO Auto-generated constructor stub
this.description = descritpion;
this.amount = amount;
this.uom = uom;
}
public Ingredient(String descritpion, BigDecimal amount, UnitOfMeasure uom, Recipe recipe) {
// TODO Auto-generated constructor stub
this.description = description;
this.amount = amount;
this.uom = uom;
this.recipe = recipe;
}
public Ingredient() {
}
}
| [
"anil.hhh.desai@gmail.com"
] | anil.hhh.desai@gmail.com |
564e8b3317c664c1a2b9d623464ed4380c272ecc | 8f85b7f766b672370001d11af466cc8e4648c295 | /assignment2/ABAGAIL/src/opt/example/CountOnesEvaluationFunction.java | 9b4ec2e1408c14186303fbd0daa0b5f2d4fabe3c | [
"MIT"
] | permissive | jasneetbhatti/CS-7641-assignments | e179e1a21ccbb2a6a3fc971c5a02a08a64d4b3fd | a0091d88fa9b4d03d44dffc2bba0f08f36f6105c | refs/heads/master | 2020-04-19T09:08:55.380757 | 2019-03-24T20:40:52 | 2019-03-24T20:40:52 | 168,101,180 | 1 | 2 | MIT | 2019-03-09T22:49:31 | 2019-01-29T06:22:28 | Java | UTF-8 | Java | false | false | 634 | java | package opt.example;
import util.linalg.Vector;
import opt.EvaluationFunction;
import shared.Instance;
/**
* A function that counts the ones in the data
* @author Andrew Guillory gtg008g@mail.gatech.edu
* @version 1.0
*/
public class CountOnesEvaluationFunction implements EvaluationFunction {
/**
* @see opt.EvaluationFunction#value(opt.OptimizationData)
*/
public double value(Instance d) {
Vector data = d.getData();
double val = 0;
for (int i = 0; i < data.size(); i++) {
if (data.get(i) == 1) {
val++;
}
}
return val;
}
} | [
"cmaron@grubhub.com"
] | cmaron@grubhub.com |
4c6fa8150944966f925c7de06eb3f6a80697b53d | 0d190ceebea86f5d6385e9dc2609450da06c75c0 | /src/main/java/com/example/demo/repository/ProduitRepository.java | aaba1cec6d97fdf62732d9c88cdd77a282f457d0 | [] | no_license | Massaab-Messaoudi/BackEndGestionStock | faa84996e0a56599bfafad16a01e72f4a3269313 | 5b2a4b7ba7f63978f373c3a817217e879c387b7d | refs/heads/master | 2022-11-20T17:07:20.028676 | 2020-07-17T19:52:17 | 2020-07-17T19:52:17 | 273,212,226 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 279 | java | package com.example.demo.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.example.demo.entity.Produit;
@Repository
public interface ProduitRepository extends JpaRepository<Produit,Long> {
}
| [
"messaoudimassaab@gmail.com"
] | messaoudimassaab@gmail.com |
510f93bcf8deeedb5fb7c82063a76544f5209249 | befde1e4446dec36af350e49bacac9cdb84e9d96 | /ymir-core/src/main/java/org/seasar/ymir/scope/impl/ComponentScope.java | 8b93527fed060247932e63b2089861b2a4db0adf | [] | no_license | seasarorg/test-ymir-component-1 | c6c9ae715b090edae3f994e602047d4086363661 | cb53d0e4c193b9a2211df16bfabdaf23665f24b7 | refs/heads/master | 2016-09-09T19:01:46.293634 | 2013-10-01T17:36:25 | 2013-10-01T17:36:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,519 | java | package org.seasar.ymir.scope.impl;
import java.util.ArrayList;
import java.util.Iterator;
import org.seasar.framework.container.S2Container;
import org.seasar.ymir.YmirContext;
import org.seasar.ymir.scope.Scope;
/**
* コンポーネントコンテナのスコープを表すクラスです。
* <p>このスコープを使うことで、コンポーネントコンテナからコンポーネントを取り出すことができます。
* </p>
* <p><b>同期化:</b>
* このクラスはスレッドセーフです。
* </p>
*
* @author YOKOTA Takehiko
*/
public class ComponentScope implements Scope {
public Object getAttribute(String name, Class<?> type) {
S2Container container = getS2Container();
if (name != null && container.hasComponentDef(name)) {
if (type == null
|| type.isAssignableFrom(container.getComponentDef(name)
.getComponentClass())) {
return container.getComponent(name);
}
}
if (type != null && container.hasComponentDef(type)) {
return container.getComponent(type);
}
return null;
}
public Iterator<String> getAttributeNames() {
return new ArrayList<String>().iterator();
}
public void setAttribute(String name, Object value) {
}
S2Container getS2Container() {
return YmirContext.getYmir().getApplication().getS2Container();
}
}
| [
"skirnir@ce2cb714-bd0d-0410-8c66-e472ade7ad34"
] | skirnir@ce2cb714-bd0d-0410-8c66-e472ade7ad34 |
db9f332a8d9a4e1860d672917d606c5ec52deab8 | 67fadb5277f2c22067c64f277ccfe611c0e2625b | /drr/patches/D_correct/Lang44/patch1-Lang-44-Nopol2015/patch1Lang44_nopol2015/target/0/20/evosuite-tests/org/apache/commons/lang/NumberUtils_ESTest.java | 437c6e0bfc48f65125633b52da0b83757c3d8080 | [] | no_license | SophieHYe/DiffTGen | 6e08cfba78b19f3e0aee559a54fbca8ad387bbe6 | c34b08ab3793183e03fb7dea23e44b2c22b40f50 | refs/heads/master | 2021-10-23T22:23:44.223906 | 2019-03-20T11:20:02 | 2019-03-20T11:20:02 | 139,418,074 | 0 | 0 | null | 2018-07-02T09:03:48 | 2018-07-02T09:03:48 | null | UTF-8 | Java | false | false | 616,912 | java | /*
* This file was automatically generated by EvoSuite
* Mon Mar 11 13:45:26 GMT 2019
*/
package org.apache.commons.lang;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.apache.commons.lang.NumberUtils;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true)
public class NumberUtils_ESTest extends NumberUtils_ESTest_scaffolding {
//Test case number: 0
/*
* 11 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: root-Branch in context: org.apache.commons.lang.NumberUtils:stringToInt(Ljava/lang/String;I)I
* Goal 3. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 74
* Goal 4. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 75
* Goal 5. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 76
* Goal 6. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I
* Goal 7. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I
* Goal 8. Weak Mutation 1: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp Negation of defaultValue
* Goal 9. Weak Mutation 2: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp IINC 1 defaultValue
* Goal 10. Weak Mutation 3: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp IINC -1 defaultValue
* Goal 11. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:zero
*/
@Test
public void test00() throws Throwable {
int int0 = NumberUtils.stringToInt("\"\" is not a valid number.", 0);
}
//Test case number: 1
/*
* 11 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: root-Branch in context: org.apache.commons.lang.NumberUtils:stringToInt(Ljava/lang/String;I)I
* Goal 3. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 74
* Goal 4. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 75
* Goal 5. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 76
* Goal 6. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I
* Goal 7. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I
* Goal 8. Weak Mutation 1: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp Negation of defaultValue
* Goal 9. Weak Mutation 2: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp IINC 1 defaultValue
* Goal 10. Weak Mutation 3: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp IINC -1 defaultValue
* Goal 11. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:negative
*/
@Test
public void test01() throws Throwable {
int int0 = NumberUtils.stringToInt("n5\"IR\"4GU<ecAj_", (-2517));
}
//Test case number: 2
/*
* 23 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - false
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - false in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 391
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 392
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 394
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 397
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 10. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 11. Weak Mutation 128: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable b -> a
* Goal 12. Weak Mutation 130: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of b
* Goal 13. Weak Mutation 131: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> b
* Goal 14. Weak Mutation 132: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> c
* Goal 15. Weak Mutation 133: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of a
* Goal 16. Weak Mutation 134: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceComparisonOperator >= -> -1
* Goal 17. Weak Mutation 137: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:392 - ReplaceVariable b -> a
* Goal 18. Weak Mutation 139: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:392 - InsertUnaryOp Negation of b
* Goal 19. Weak Mutation 142: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of c
* Goal 20. Weak Mutation 145: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of a
* Goal 21. Weak Mutation 148: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceComparisonOperator >= -> >
* Goal 22. Weak Mutation 154: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - InsertUnaryOp Negation of a
* Goal 23. org.apache.commons.lang.NumberUtils.minimum(JJJ)J:zero
*/
@Test
public void test02() throws Throwable {
long long0 = NumberUtils.minimum(994L, 0L, 0L);
}
//Test case number: 3
/*
* 33 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - true
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - true in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - true in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 409
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 412
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 415
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 10. Weak Mutation 156: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable b -> c
* Goal 11. Weak Mutation 157: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of b
* Goal 12. Weak Mutation 158: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 b
* Goal 13. Weak Mutation 159: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 b
* Goal 14. Weak Mutation 161: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable a -> c
* Goal 15. Weak Mutation 162: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of a
* Goal 16. Weak Mutation 163: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 a
* Goal 17. Weak Mutation 164: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 a
* Goal 18. Weak Mutation 166: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceComparisonOperator >= -> >
* Goal 19. Weak Mutation 173: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable c -> a
* Goal 20. Weak Mutation 174: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable c -> b
* Goal 21. Weak Mutation 175: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of c
* Goal 22. Weak Mutation 176: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 c
* Goal 23. Weak Mutation 177: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 c
* Goal 24. Weak Mutation 179: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable a -> c
* Goal 25. Weak Mutation 180: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of a
* Goal 26. Weak Mutation 181: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 a
* Goal 27. Weak Mutation 182: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 a
* Goal 28. Weak Mutation 185: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceComparisonOperator >= -> ==
* Goal 29. Weak Mutation 192: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - ReplaceVariable a -> c
* Goal 30. Weak Mutation 193: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp Negation of a
* Goal 31. Weak Mutation 194: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC 1 a
* Goal 32. Weak Mutation 195: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC -1 a
* Goal 33. org.apache.commons.lang.NumberUtils.minimum(III)I:zero
*/
@Test
public void test03() throws Throwable {
int int0 = NumberUtils.minimum(0, 0, 4410);
}
//Test case number: 4
/*
* 27 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 445
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 448
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 451
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 10. Weak Mutation 225: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of b
* Goal 11. Weak Mutation 226: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 b
* Goal 12. Weak Mutation 227: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 b
* Goal 13. Weak Mutation 230: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of a
* Goal 14. Weak Mutation 231: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 a
* Goal 15. Weak Mutation 232: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 a
* Goal 16. Weak Mutation 234: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceComparisonOperator <= -> <
* Goal 17. Weak Mutation 243: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of c
* Goal 18. Weak Mutation 244: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 c
* Goal 19. Weak Mutation 245: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 c
* Goal 20. Weak Mutation 248: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of a
* Goal 21. Weak Mutation 249: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 a
* Goal 22. Weak Mutation 250: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 a
* Goal 23. Weak Mutation 252: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceComparisonOperator <= -> <
* Goal 24. Weak Mutation 261: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp Negation of a
* Goal 25. Weak Mutation 262: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC 1 a
* Goal 26. Weak Mutation 263: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC -1 a
* Goal 27. org.apache.commons.lang.NumberUtils.maximum(III)I:zero
*/
@Test
public void test04() throws Throwable {
int int0 = NumberUtils.maximum(0, 0, 0);
}
//Test case number: 5
/*
* 6 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: root-Branch in context: org.apache.commons.lang.NumberUtils:createLong(Ljava/lang/String;)Ljava/lang/Long;
* Goal 3. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: Line 353
* Goal 4. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;
* Goal 5. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;
* Goal 6. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;:nonnull
*/
@Test
public void test05() throws Throwable {
Long long0 = NumberUtils.createLong("07");
}
//Test case number: 6
/*
* 6 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch in context: org.apache.commons.lang.NumberUtils:createFloat(Ljava/lang/String;)Ljava/lang/Float;
* Goal 3. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: Line 318
* Goal 4. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;
* Goal 5. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;
* Goal 6. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;:nonnull
*/
@Test
public void test06() throws Throwable {
Float float0 = NumberUtils.createFloat("0");
}
//Test case number: 7
/*
* 6 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch in context: org.apache.commons.lang.NumberUtils:createDouble(Ljava/lang/String;)Ljava/lang/Double;
* Goal 3. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: Line 329
* Goal 4. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;
* Goal 5. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;
* Goal 6. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;:nonnull
*/
@Test
public void test07() throws Throwable {
Double double0 = NumberUtils.createDouble("07");
}
//Test case number: 8
/*
* 124 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true
* Goal 15. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false
* Goal 16. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true
* Goal 17. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false
* Goal 18. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false
* Goal 19. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false
* Goal 20. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false
* Goal 21. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - true
* Goal 22. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I346 Branch 108 IF_ICMPEQ L700 - false
* Goal 23. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I351 Branch 109 IF_ICMPNE L700 - true
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 30. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 31. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 32. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 33. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 34. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 35. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 36. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 37. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 38. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 39. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 40. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 41. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 42. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 43. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 44. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 45. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I351 Branch 109 IF_ICMPNE L700 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 46. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I346 Branch 108 IF_ICMPEQ L700 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 47. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 48. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 49. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 50. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 51. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 52. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 53. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 54. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 55. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 56. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 57. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 58. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 59. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 60. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 652
* Goal 61. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 653
* Goal 62. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 654
* Goal 63. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 682
* Goal 64. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 684
* Goal 65. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 685
* Goal 66. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 689
* Goal 67. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 693
* Goal 68. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 700
* Goal 69. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 706
* Goal 70. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 71. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 72. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 73. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 74. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 75. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 76. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 77. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 78. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 79. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 80. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 81. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 82. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 83. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 84. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 85. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 86. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 87. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 88. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 89. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 90. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 91. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 92. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 93. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 94. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 95. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 96. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 97. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 98. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 99. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 100. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 101. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 102. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 103. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 104. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 105. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 106. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 107. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 108. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 109. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 110. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 111. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 112. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 113. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 114. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 115. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 116. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 117. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 118. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 119. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 120. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 121. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 122. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 123. Weak Mutation 432: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> <
* Goal 124. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test08() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("0z");
}
//Test case number: 9
/*
* 41 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - false
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - false in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 445
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 446
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 448
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 451
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 10. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 11. Weak Mutation 223: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable b -> a
* Goal 12. Weak Mutation 224: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable b -> c
* Goal 13. Weak Mutation 225: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of b
* Goal 14. Weak Mutation 226: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 b
* Goal 15. Weak Mutation 227: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 b
* Goal 16. Weak Mutation 228: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable a -> b
* Goal 17. Weak Mutation 229: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable a -> c
* Goal 18. Weak Mutation 230: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of a
* Goal 19. Weak Mutation 231: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 a
* Goal 20. Weak Mutation 232: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 a
* Goal 21. Weak Mutation 233: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceComparisonOperator <= -> -1
* Goal 22. Weak Mutation 236: org.apache.commons.lang.NumberUtils.maximum(III)I:446 - ReplaceVariable b -> a
* Goal 23. Weak Mutation 237: org.apache.commons.lang.NumberUtils.maximum(III)I:446 - ReplaceVariable b -> c
* Goal 24. Weak Mutation 238: org.apache.commons.lang.NumberUtils.maximum(III)I:446 - InsertUnaryOp Negation of b
* Goal 25. Weak Mutation 239: org.apache.commons.lang.NumberUtils.maximum(III)I:446 - InsertUnaryOp IINC 1 b
* Goal 26. Weak Mutation 240: org.apache.commons.lang.NumberUtils.maximum(III)I:446 - InsertUnaryOp IINC -1 b
* Goal 27. Weak Mutation 241: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> a
* Goal 28. Weak Mutation 242: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> b
* Goal 29. Weak Mutation 243: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of c
* Goal 30. Weak Mutation 244: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 c
* Goal 31. Weak Mutation 245: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 c
* Goal 32. Weak Mutation 247: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable a -> c
* Goal 33. Weak Mutation 248: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of a
* Goal 34. Weak Mutation 249: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 a
* Goal 35. Weak Mutation 250: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 a
* Goal 36. Weak Mutation 253: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceComparisonOperator <= -> ==
* Goal 37. Weak Mutation 260: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - ReplaceVariable a -> c
* Goal 38. Weak Mutation 261: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp Negation of a
* Goal 39. Weak Mutation 262: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC 1 a
* Goal 40. Weak Mutation 263: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC -1 a
* Goal 41. org.apache.commons.lang.NumberUtils.maximum(III)I:positive
*/
@Test
public void test09() throws Throwable {
int int0 = NumberUtils.maximum((-1), 417, (-2499));
}
//Test case number: 10
/*
* 37 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 445
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 448
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 451
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 10. Weak Mutation 223: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable b -> a
* Goal 11. Weak Mutation 224: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable b -> c
* Goal 12. Weak Mutation 225: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of b
* Goal 13. Weak Mutation 226: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 b
* Goal 14. Weak Mutation 227: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 b
* Goal 15. Weak Mutation 228: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable a -> b
* Goal 16. Weak Mutation 229: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable a -> c
* Goal 17. Weak Mutation 230: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of a
* Goal 18. Weak Mutation 231: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 a
* Goal 19. Weak Mutation 232: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 a
* Goal 20. Weak Mutation 235: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceComparisonOperator <= -> ==
* Goal 21. Weak Mutation 241: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> a
* Goal 22. Weak Mutation 242: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> b
* Goal 23. Weak Mutation 243: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of c
* Goal 24. Weak Mutation 244: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 c
* Goal 25. Weak Mutation 245: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 c
* Goal 26. Weak Mutation 246: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable a -> b
* Goal 27. Weak Mutation 247: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable a -> c
* Goal 28. Weak Mutation 248: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of a
* Goal 29. Weak Mutation 249: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 a
* Goal 30. Weak Mutation 250: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 a
* Goal 31. Weak Mutation 253: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceComparisonOperator <= -> ==
* Goal 32. Weak Mutation 259: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - ReplaceVariable a -> b
* Goal 33. Weak Mutation 260: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - ReplaceVariable a -> c
* Goal 34. Weak Mutation 261: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp Negation of a
* Goal 35. Weak Mutation 262: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC 1 a
* Goal 36. Weak Mutation 263: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC -1 a
* Goal 37. org.apache.commons.lang.NumberUtils.maximum(III)I:positive
*/
@Test
public void test10() throws Throwable {
int int0 = NumberUtils.maximum(1, 0, (-845));
}
//Test case number: 11
/*
* 25 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - true
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - true in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - true in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 427
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 430
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 433
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 10. Weak Mutation 196: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable b -> a
* Goal 11. Weak Mutation 198: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of b
* Goal 12. Weak Mutation 199: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable a -> b
* Goal 13. Weak Mutation 200: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable a -> c
* Goal 14. Weak Mutation 201: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of a
* Goal 15. Weak Mutation 203: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceComparisonOperator <= -> ==
* Goal 16. Weak Mutation 208: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable c -> a
* Goal 17. Weak Mutation 210: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of c
* Goal 18. Weak Mutation 211: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable a -> b
* Goal 19. Weak Mutation 212: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable a -> c
* Goal 20. Weak Mutation 213: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of a
* Goal 21. Weak Mutation 215: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceComparisonOperator <= -> ==
* Goal 22. Weak Mutation 220: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - ReplaceVariable a -> b
* Goal 23. Weak Mutation 221: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - ReplaceVariable a -> c
* Goal 24. Weak Mutation 222: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - InsertUnaryOp Negation of a
* Goal 25. org.apache.commons.lang.NumberUtils.maximum(JJJ)J:positive
*/
@Test
public void test11() throws Throwable {
long long0 = NumberUtils.maximum((long) 1490, 1L, 1L);
}
//Test case number: 12
/*
* 27 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - true
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - true in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - true in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 409
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 412
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 415
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 10. Weak Mutation 157: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of b
* Goal 11. Weak Mutation 158: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 b
* Goal 12. Weak Mutation 159: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 b
* Goal 13. Weak Mutation 162: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of a
* Goal 14. Weak Mutation 163: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 a
* Goal 15. Weak Mutation 164: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 a
* Goal 16. Weak Mutation 166: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceComparisonOperator >= -> >
* Goal 17. Weak Mutation 175: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of c
* Goal 18. Weak Mutation 176: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 c
* Goal 19. Weak Mutation 177: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 c
* Goal 20. Weak Mutation 180: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of a
* Goal 21. Weak Mutation 181: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 a
* Goal 22. Weak Mutation 182: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 a
* Goal 23. Weak Mutation 184: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceComparisonOperator >= -> >
* Goal 24. Weak Mutation 193: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp Negation of a
* Goal 25. Weak Mutation 194: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC 1 a
* Goal 26. Weak Mutation 195: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC -1 a
* Goal 27. org.apache.commons.lang.NumberUtils.minimum(III)I:positive
*/
@Test
public void test12() throws Throwable {
int int0 = NumberUtils.minimum(524, 524, 524);
}
//Test case number: 13
/*
* 23 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - true
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - true in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 391
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 394
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 397
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 10. Weak Mutation 128: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable b -> a
* Goal 11. Weak Mutation 129: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable b -> c
* Goal 12. Weak Mutation 130: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of b
* Goal 13. Weak Mutation 131: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> b
* Goal 14. Weak Mutation 133: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of a
* Goal 15. Weak Mutation 135: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceComparisonOperator >= -> ==
* Goal 16. Weak Mutation 141: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable c -> b
* Goal 17. Weak Mutation 142: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of c
* Goal 18. Weak Mutation 143: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable a -> b
* Goal 19. Weak Mutation 145: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of a
* Goal 20. Weak Mutation 148: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceComparisonOperator >= -> >
* Goal 21. Weak Mutation 152: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - ReplaceVariable a -> b
* Goal 22. Weak Mutation 154: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - InsertUnaryOp Negation of a
* Goal 23. org.apache.commons.lang.NumberUtils.minimum(JJJ)J:negative
*/
@Test
public void test13() throws Throwable {
long long0 = NumberUtils.minimum((-1L), 0L, (-1L));
}
//Test case number: 14
/*
* 25 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - true
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - true in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 391
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 394
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 397
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 10. Weak Mutation 128: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable b -> a
* Goal 11. Weak Mutation 130: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of b
* Goal 12. Weak Mutation 131: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> b
* Goal 13. Weak Mutation 132: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> c
* Goal 14. Weak Mutation 133: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of a
* Goal 15. Weak Mutation 135: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceComparisonOperator >= -> ==
* Goal 16. Weak Mutation 140: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable c -> a
* Goal 17. Weak Mutation 142: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of c
* Goal 18. Weak Mutation 143: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable a -> b
* Goal 19. Weak Mutation 144: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable a -> c
* Goal 20. Weak Mutation 145: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of a
* Goal 21. Weak Mutation 147: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceComparisonOperator >= -> ==
* Goal 22. Weak Mutation 152: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - ReplaceVariable a -> b
* Goal 23. Weak Mutation 153: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - ReplaceVariable a -> c
* Goal 24. Weak Mutation 154: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - InsertUnaryOp Negation of a
* Goal 25. org.apache.commons.lang.NumberUtils.minimum(JJJ)J:positive
*/
@Test
public void test14() throws Throwable {
long long0 = NumberUtils.minimum(993L, 3851L, 3851L);
}
//Test case number: 15
/*
* 129 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - true
* Goal 18. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 19. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 20. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 21. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 22. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 23. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 34. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 35. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 36. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 37. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 38. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 39. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 40. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 41. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 42. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 43. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 44. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 45. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 46. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 47. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 177
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 182
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 185
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 188
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 189
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 190
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 236
* Goal 60. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 61. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 62. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 63. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 64. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 65. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 66. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 67. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 68. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 69. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 70. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 71. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 72. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 73. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 74. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 75. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 76. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 77. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 78. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 79. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 80. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 81. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 82. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 83. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 84. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 85. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 86. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 87. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 88. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 89. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 90. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 91. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 92. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 93. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 94. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 95. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 96. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 97. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 98. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 99. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 100. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 101. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 102. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 103. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 104. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 105. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 106. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 107. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 108. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 109. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 110. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
* Goal 111. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 112. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 113. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 114. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 115. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 116. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 117. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 118. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 119. Weak Mutation 110: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> <=
* Goal 120. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 121. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 122. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 123. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 124. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 125. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 126. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 127. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 128. Weak Mutation 121: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> <=
* Goal 129. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
*/
@Test
public void test15() throws Throwable {
try {
NumberUtils.createNumber("!");
} catch(NumberFormatException e) {
//
// ! is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 16
/*
* 141 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - false
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I169 Branch 12 IF_ICMPGE L182 - false
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - true
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false
* Goal 19. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I219 Branch 22 IFNONNULL L193 - false
* Goal 20. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I221 Branch 23 IFNONNULL L193 - true
* Goal 21. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 22. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 23. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I169 Branch 12 IF_ICMPGE L182 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 34. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 35. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 36. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 37. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 38. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 39. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 40. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 41. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 42. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I221 Branch 23 IFNONNULL L193 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 43. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I219 Branch 22 IFNONNULL L193 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 44. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 45. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 46. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 47. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 175
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 60. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 182
* Goal 61. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 183
* Goal 62. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 188
* Goal 63. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 189
* Goal 64. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 190
* Goal 65. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 193
* Goal 66. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 204
* Goal 67. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 68. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 69. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 70. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 71. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;
* Goal 72. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 73. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;
* Goal 74. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 75. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 76. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 77. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 78. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 79. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 80. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 81. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 82. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 83. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 84. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 85. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 86. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 87. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 88. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 89. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 90. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 91. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 92. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 93. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 94. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 95. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 96. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 97. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 98. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 99. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 100. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 101. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 102. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 103. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 104. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 105. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 106. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 107. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 108. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 109. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 110. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 111. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 112. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 113. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 114. Weak Mutation 53: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceVariable decPos -> expPos
* Goal 115. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 116. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 117. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 118. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 119. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 120. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 121. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
* Goal 122. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 123. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 124. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 125. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 126. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 127. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 128. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 129. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 130. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 131. Weak Mutation 109: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> !=
* Goal 132. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 133. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 134. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 135. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 136. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 137. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 138. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 139. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 140. Weak Mutation 120: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> >=
* Goal 141. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
*/
@Test
public void test16() throws Throwable {
String string0 = "----";
try {
NumberUtils.createNumber("!y{c'r9zmVO6+VnKeL");
} catch(NumberFormatException e) {
//
// !y{c'r9zmVO6+VnKeL is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 17
/*
* 7 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch in context: org.apache.commons.lang.NumberUtils:createDouble(Ljava/lang/String;)Ljava/lang/Double;
* Goal 3. createDouble(Ljava/lang/String;)Ljava/lang/Double;_java.lang.NumberFormatException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: Line 329
* Goal 5. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;
* Goal 6. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;
* Goal 7. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;
*/
@Test
public void test17() throws Throwable {
String string0 = "-0xo4v^SVb,|*L)$ST}s?";
// Undeclared exception!
try {
NumberUtils.createDouble("%");
} catch(NumberFormatException e) {
//
// For input string: \"%\"
//
assertThrownBy("sun.misc.FloatingDecimal", e);
}
}
//Test case number: 18
/*
* 7 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch in context: org.apache.commons.lang.NumberUtils:createInteger(Ljava/lang/String;)Ljava/lang/Integer;
* Goal 3. createInteger(Ljava/lang/String;)Ljava/lang/Integer;_java.lang.NumberFormatException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: Line 342
* Goal 5. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;
* Goal 6. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;
* Goal 7. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;
*/
@Test
public void test18() throws Throwable {
String string0 = "0x";
// Undeclared exception!
try {
NumberUtils.createInteger("\"\" is not a valid number.");
} catch(NumberFormatException e) {
//
// For input string: \"\"\" is not a valid number.\"
//
assertThrownBy("java.lang.NumberFormatException", e);
}
}
//Test case number: 19
/*
* 12 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 4. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 5. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 143
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 10. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 11. Weak Mutation 5: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> -1
* Goal 12. Weak Mutation 8: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:143 - ReplaceConstant - "" is not a valid number. ->
*/
@Test
public void test19() throws Throwable {
try {
NumberUtils.createNumber("");
} catch(NumberFormatException e) {
//
// \"\" is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 20
/*
* 7 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: root-Branch in context: org.apache.commons.lang.NumberUtils:createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;
* Goal 3. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: Line 364
* Goal 4. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: Line 365
* Goal 5. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;
* Goal 6. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;
* Goal 7. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;:nonnull
*/
@Test
public void test20() throws Throwable {
BigInteger bigInteger0 = NumberUtils.createBigInteger("3");
}
//Test case number: 21
/*
* 7 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch in context: org.apache.commons.lang.NumberUtils:createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;
* Goal 3. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 376
* Goal 4. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 377
* Goal 5. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;
* Goal 6. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;
* Goal 7. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;:nonnull
*/
@Test
public void test21() throws Throwable {
BigDecimal bigDecimal0 = NumberUtils.createBigDecimal("07");
}
//Test case number: 22
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch in context: org.apache.commons.lang.NumberUtils:createInteger(Ljava/lang/String;)Ljava/lang/Integer;
* Goal 3. createInteger(Ljava/lang/String;)Ljava/lang/Integer;_java.lang.NullPointerException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: Line 342
* Goal 5. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;
*/
@Test
public void test22() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createInteger((String) null);
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("java.lang.Integer", e);
}
}
//Test case number: 23
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch in context: org.apache.commons.lang.NumberUtils:createFloat(Ljava/lang/String;)Ljava/lang/Float;
* Goal 3. createFloat(Ljava/lang/String;)Ljava/lang/Float;_java.lang.NumberFormatException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: Line 318
* Goal 5. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;
*/
@Test
public void test23() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createFloat("~");
} catch(NumberFormatException e) {
//
// For input string: \"~\"
//
assertThrownBy("sun.misc.FloatingDecimal", e);
}
}
//Test case number: 24
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch in context: org.apache.commons.lang.NumberUtils:createDouble(Ljava/lang/String;)Ljava/lang/Double;
* Goal 3. createDouble(Ljava/lang/String;)Ljava/lang/Double;_java.lang.NullPointerException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: Line 329
* Goal 5. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;
*/
@Test
public void test24() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createDouble((String) null);
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("sun.misc.FloatingDecimal", e);
}
}
//Test case number: 25
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: root-Branch in context: org.apache.commons.lang.NumberUtils:createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;
* Goal 3. createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;_java.lang.NumberFormatException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: Line 364
* Goal 5. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;
*/
@Test
public void test25() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createBigInteger("-0x");
} catch(NumberFormatException e) {
//
// For input string: \"x\"
//
assertThrownBy("java.lang.NumberFormatException", e);
}
}
//Test case number: 26
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch in context: org.apache.commons.lang.NumberUtils:createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;
* Goal 3. createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;_java.lang.NullPointerException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 376
* Goal 5. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;
*/
@Test
public void test26() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createBigDecimal((String) null);
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("java.math.BigDecimal", e);
}
}
//Test case number: 27
/*
* 27 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - false
* Goal 2. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I6 Branch 66 IFNE L593 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I19 Branch 67 IF_ICMPGE L596 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I26 Branch 68 IFNE L597 - false
* Goal 5. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - false in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 6. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I6 Branch 66 IFNE L593 - true in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 7. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I19 Branch 67 IF_ICMPGE L596 - false in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 8. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I26 Branch 68 IFNE L597 - false in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 9. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 593
* Goal 10. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 596
* Goal 11. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 597
* Goal 12. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 598
* Goal 13. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 14. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 15. Weak Mutation 354: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator = null -> != null
* Goal 16. Weak Mutation 356: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator != -> <
* Goal 17. Weak Mutation 359: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - ReplaceConstant - 0 -> 1
* Goal 18. Weak Mutation 360: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp Negation of i
* Goal 19. Weak Mutation 361: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp IINC 1 i
* Goal 20. Weak Mutation 362: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp IINC -1 i
* Goal 21. Weak Mutation 363: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - ReplaceComparisonOperator >= -> -1
* Goal 22. Weak Mutation 366: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp Negation of i
* Goal 23. Weak Mutation 367: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp IINC 1 i
* Goal 24. Weak Mutation 368: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp IINC -1 i
* Goal 25. Weak Mutation 369: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - ReplaceComparisonOperator != -> ==
* Goal 26. Weak Mutation 370: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:598 - ReplaceConstant - 0 -> 1
* Goal 27. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:false
*/
@Test
public void test27() throws Throwable {
boolean boolean0 = NumberUtils.isDigits("-0x");
}
//Test case number: 28
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: root-Branch in context: org.apache.commons.lang.NumberUtils:createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;
* Goal 3. createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;_java.lang.NullPointerException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: Line 364
* Goal 5. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;
*/
@Test
public void test28() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createBigInteger((String) null);
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("java.math.BigInteger", e);
}
}
//Test case number: 29
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch in context: org.apache.commons.lang.NumberUtils:createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;
* Goal 3. createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;_java.lang.NumberFormatException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 376
* Goal 5. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;
*/
@Test
public void test29() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createBigDecimal("KiY10*NHt\"1MW2M~-0");
} catch(NumberFormatException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("java.math.BigDecimal", e);
}
}
//Test case number: 30
/*
* 6 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: root-Branch in context: org.apache.commons.lang.NumberUtils:stringToInt(Ljava/lang/String;I)I
* Goal 3. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 74
* Goal 4. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I
* Goal 5. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I
* Goal 6. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:positive
*/
@Test
public void test30() throws Throwable {
int int0 = NumberUtils.stringToInt("07", 1368);
}
//Test case number: 31
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: root-Branch in context: org.apache.commons.lang.NumberUtils:createLong(Ljava/lang/String;)Ljava/lang/Long;
* Goal 3. createLong(Ljava/lang/String;)Ljava/lang/Long;_java.lang.NumberFormatException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: Line 353
* Goal 5. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;
*/
@Test
public void test31() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createLong((String) null);
} catch(NumberFormatException e) {
//
// null
//
assertThrownBy("java.lang.Long", e);
}
}
//Test case number: 32
/*
* 6 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch in context: org.apache.commons.lang.NumberUtils:createInteger(Ljava/lang/String;)Ljava/lang/Integer;
* Goal 3. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: Line 342
* Goal 4. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;
* Goal 5. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;
* Goal 6. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;:nonnull
*/
@Test
public void test32() throws Throwable {
Integer integer0 = NumberUtils.createInteger("21");
}
//Test case number: 33
/*
* 79 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false
* Goal 15. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false
* Goal 16. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - false
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 30. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 31. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 32. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 684
* Goal 46. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 685
* Goal 47. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 689
* Goal 48. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 693
* Goal 49. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 698
* Goal 50. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 51. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 52. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 53. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 54. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 55. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 56. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 57. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 58. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 59. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 60. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 61. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 62. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 63. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 64. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 65. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 66. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 67. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 68. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 69. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 70. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 71. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 72. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 73. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 74. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 75. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 76. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 77. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 78. Weak Mutation 403: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> <
* Goal 79. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test33() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("F");
}
//Test case number: 34
/*
* 68 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - false
* Goal 12. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 13. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 24. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 684
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 685
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 689
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 691
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 41. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 42. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 43. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 44. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 45. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 46. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 47. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 48. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 49. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 50. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 51. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 52. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 53. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 54. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 55. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 56. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 57. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 58. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 59. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 60. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 61. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 62. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 63. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 64. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 65. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 66. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 67. Weak Mutation 403: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> <
* Goal 68. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test34() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("-E");
}
//Test case number: 35
/*
* 82 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - true
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false
* Goal 15. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - true
* Goal 16. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I346 Branch 108 IF_ICMPEQ L700 - false
* Goal 17. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I351 Branch 109 IF_ICMPNE L700 - true
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 30. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 31. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 32. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 33. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I351 Branch 109 IF_ICMPNE L700 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 34. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I346 Branch 108 IF_ICMPEQ L700 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 46. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 47. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 684
* Goal 48. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 685
* Goal 49. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 689
* Goal 50. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 693
* Goal 51. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 700
* Goal 52. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 706
* Goal 53. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 54. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 55. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 56. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 57. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 58. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 59. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 60. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 61. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 62. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 63. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 64. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 65. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 66. Weak Mutation 386: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> >
* Goal 67. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 68. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 69. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 70. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 71. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 72. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 73. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 74. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 75. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 76. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 77. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 78. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 79. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 80. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 81. Weak Mutation 403: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> <
* Goal 82. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test35() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("%");
}
//Test case number: 36
/*
* 105 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - true
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - true
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I243 Branch 95 IF_ICMPEQ L673 - true
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I252 Branch 97 IFNE L674 - false
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I243 Branch 95 IF_ICMPEQ L673 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I252 Branch 97 IFNE L674 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 652
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 653
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 654
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 656
* Goal 46. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 662
* Goal 47. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 673
* Goal 48. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 674
* Goal 49. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 675
* Goal 50. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 682
* Goal 51. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 52. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 53. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 54. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 55. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 56. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 57. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 58. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 59. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 60. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 61. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 62. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 63. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 64. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 65. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 66. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 67. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 68. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 69. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 70. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 71. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 72. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 73. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 74. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 75. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 76. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 77. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 78. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 79. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 80. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 81. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 82. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 83. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 84. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 85. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 86. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 87. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 88. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 89. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 90. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 91. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 92. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 93. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 94. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 95. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 96. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 97. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 98. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 99. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 100. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 101. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 102. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 103. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 104. Weak Mutation 433: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> >
* Goal 105. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test36() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("0+:j");
}
//Test case number: 37
/*
* 114 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - true
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - true
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - true
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I215 Branch 93 IFEQ L664 - true
* Goal 15. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I223 Branch 94 IFNE L668 - true
* Goal 16. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I243 Branch 95 IF_ICMPEQ L673 - false
* Goal 17. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I248 Branch 96 IF_ICMPNE L673 - true
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 30. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 31. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I215 Branch 93 IFEQ L664 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 32. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I223 Branch 94 IFNE L668 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 33. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I248 Branch 96 IF_ICMPNE L673 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 34. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I243 Branch 95 IF_ICMPEQ L673 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 46. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 47. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 48. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 652
* Goal 49. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 653
* Goal 50. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 654
* Goal 51. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 656
* Goal 52. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 662
* Goal 53. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 664
* Goal 54. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 668
* Goal 55. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 671
* Goal 56. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 672
* Goal 57. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 673
* Goal 58. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 680
* Goal 59. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 682
* Goal 60. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 61. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 62. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 63. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 64. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 65. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 66. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 67. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 68. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 69. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 70. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 71. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 72. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 73. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 74. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 75. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 76. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 77. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 78. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 79. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 80. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 81. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 82. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 83. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 84. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 85. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 86. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 87. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 88. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 89. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 90. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 91. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 92. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 93. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 94. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 95. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 96. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 97. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 98. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 99. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 100. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 101. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 102. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 103. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 104. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 105. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 106. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 107. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 108. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 109. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 110. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 111. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 112. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 113. Weak Mutation 433: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> >
* Goal 114. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test37() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("-0eQ&PoNCU=,]c*Q~ P7F");
}
//Test case number: 38
/*
* 79 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - true
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I188 Branch 89 IFNE L657 - true
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I188 Branch 89 IFNE L657 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I190 Branch 90 IFEQ L657 - true
* Goal 11. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 12. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 13. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I188 Branch 89 IFNE L657 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I190 Branch 90 IFEQ L657 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I188 Branch 89 IFNE L657 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 22. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 23. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 24. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 652
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 656
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 657
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 659
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 661
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 682
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 42. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 43. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 44. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 45. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 46. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 47. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 48. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 49. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 50. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 51. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 52. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 53. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 54. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 55. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 56. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 57. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 58. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 59. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 60. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 61. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 62. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 63. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 64. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 65. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 66. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 67. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 68. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 69. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 70. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 71. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 72. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 73. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 74. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 75. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 76. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 77. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 78. Weak Mutation 416: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> >
* Goal 79. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test38() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("...");
}
//Test case number: 39
/*
* 83 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - true
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - true
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I215 Branch 93 IFEQ L664 - true
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I223 Branch 94 IFNE L668 - false
* Goal 13. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I215 Branch 93 IFEQ L664 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I223 Branch 94 IFNE L668 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 652
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 656
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 662
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 664
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 668
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 669
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 46. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 47. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 48. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 49. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 50. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 51. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 52. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 53. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 54. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 55. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 56. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 57. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 58. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 59. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 60. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 61. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 62. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 63. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 64. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 65. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 66. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 67. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 68. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 69. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 70. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 71. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 72. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 73. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 74. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 75. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 76. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 77. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 78. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 79. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 80. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 81. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 82. Weak Mutation 415: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> <
* Goal 83. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test39() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("Em");
}
//Test case number: 40
/*
* 58 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I371 Branch 112 IFNE L710 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I373 Branch 113 IFEQ L710 - true
* Goal 9. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 10. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 11. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 12. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 13. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I371 Branch 112 IFNE L710 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I373 Branch 113 IFEQ L710 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 18. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 19. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 20. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 21. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 22. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 23. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 24. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 684
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 710
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 33. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 34. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 35. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 36. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 37. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 38. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 39. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 40. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 41. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 42. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 43. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 44. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 45. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 46. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 47. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 48. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 49. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 50. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 51. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 52. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 53. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 54. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 55. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 56. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 57. Weak Mutation 404: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> ==
* Goal 58. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test40() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("-");
}
//Test case number: 41
/*
* 166 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - true
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - true
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - true
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - false
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 631
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 632
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 636
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 637
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 640
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 46. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 47. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 48. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 49. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 50. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 51. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 52. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 53. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 54. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 55. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 56. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 57. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 58. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 59. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 60. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 61. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 62. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 63. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 64. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 65. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 66. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 67. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 68. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 69. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 70. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 71. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 72. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 73. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 74. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 75. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 76. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 77. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 78. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 79. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 80. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 81. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 82. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 83. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 84. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 85. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 86. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 87. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 88. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 89. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 90. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 91. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 92. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 93. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 94. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 95. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 96. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 97. Weak Mutation 431: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 98. Weak Mutation 434: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceVariable start -> sz
* Goal 99. Weak Mutation 435: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp Negation of start
* Goal 100. Weak Mutation 436: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC 1 start
* Goal 101. Weak Mutation 437: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC -1 start
* Goal 102. Weak Mutation 438: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 0
* Goal 103. Weak Mutation 439: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 1
* Goal 104. Weak Mutation 440: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> -1
* Goal 105. Weak Mutation 441: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 3
* Goal 106. Weak Mutation 442: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> %
* Goal 107. Weak Mutation 443: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> -
* Goal 108. Weak Mutation 444: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> *
* Goal 109. Weak Mutation 445: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> /
* Goal 110. Weak Mutation 446: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> start
* Goal 111. Weak Mutation 447: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> sz
* Goal 112. Weak Mutation 448: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of i
* Goal 113. Weak Mutation 449: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 i
* Goal 114. Weak Mutation 450: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 i
* Goal 115. Weak Mutation 451: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> start
* Goal 116. Weak Mutation 452: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> i
* Goal 117. Weak Mutation 453: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of sz
* Goal 118. Weak Mutation 454: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 sz
* Goal 119. Weak Mutation 455: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 sz
* Goal 120. Weak Mutation 458: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceComparisonOperator != -> >
* Goal 121. Weak Mutation 460: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> start
* Goal 122. Weak Mutation 461: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> sz
* Goal 123. Weak Mutation 462: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp Negation of i
* Goal 124. Weak Mutation 463: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC 1 i
* Goal 125. Weak Mutation 464: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC -1 i
* Goal 126. Weak Mutation 465: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceComparisonOperator >= -> -1
* Goal 127. Weak Mutation 468: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 128. Weak Mutation 469: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 129. Weak Mutation 470: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 130. Weak Mutation 471: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 131. Weak Mutation 472: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 132. Weak Mutation 473: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 0
* Goal 133. Weak Mutation 474: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 1
* Goal 134. Weak Mutation 475: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> -1
* Goal 135. Weak Mutation 476: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 47
* Goal 136. Weak Mutation 477: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 49
* Goal 137. Weak Mutation 478: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> !=
* Goal 138. Weak Mutation 481: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 139. Weak Mutation 482: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 140. Weak Mutation 483: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 141. Weak Mutation 484: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 142. Weak Mutation 485: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 143. Weak Mutation 486: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 0
* Goal 144. Weak Mutation 487: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 1
* Goal 145. Weak Mutation 488: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> -1
* Goal 146. Weak Mutation 489: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 56
* Goal 147. Weak Mutation 490: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 58
* Goal 148. Weak Mutation 491: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> -1
* Goal 149. Weak Mutation 492: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> <
* Goal 150. Weak Mutation 494: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 151. Weak Mutation 495: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 152. Weak Mutation 496: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 153. Weak Mutation 497: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 154. Weak Mutation 498: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 155. Weak Mutation 499: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 0
* Goal 156. Weak Mutation 500: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 1
* Goal 157. Weak Mutation 501: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> -1
* Goal 158. Weak Mutation 502: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 96
* Goal 159. Weak Mutation 503: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 98
* Goal 160. Weak Mutation 505: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> -2
* Goal 161. Weak Mutation 520: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 162. Weak Mutation 521: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 163. Weak Mutation 522: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 164. Weak Mutation 523: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 165. Weak Mutation 524: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 166. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test41() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("-0x9BPoXCU=,]c*N~ P7F");
}
//Test case number: 42
/*
* 177 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - true
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - false
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I112 Branch 79 IF_ICMPLE L637 - true
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - false
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - false
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I112 Branch 79 IF_ICMPLE L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 631
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 632
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 636
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 637
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 640
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 46. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 47. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 48. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 49. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 50. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 51. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 52. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 53. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 54. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 55. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 56. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 57. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 58. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 59. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 60. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 61. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 62. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 63. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 64. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 65. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 66. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 67. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 68. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 69. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 70. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 71. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 72. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 73. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 74. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 75. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 76. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 77. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 78. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 79. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 80. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 81. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 82. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 83. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 84. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 85. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 86. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 87. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 88. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 89. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 90. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 91. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 92. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 93. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 94. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 95. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 96. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 97. Weak Mutation 431: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 98. Weak Mutation 434: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceVariable start -> sz
* Goal 99. Weak Mutation 435: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp Negation of start
* Goal 100. Weak Mutation 436: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC 1 start
* Goal 101. Weak Mutation 437: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC -1 start
* Goal 102. Weak Mutation 438: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 0
* Goal 103. Weak Mutation 439: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 1
* Goal 104. Weak Mutation 440: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> -1
* Goal 105. Weak Mutation 441: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 3
* Goal 106. Weak Mutation 442: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> %
* Goal 107. Weak Mutation 443: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> -
* Goal 108. Weak Mutation 444: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> *
* Goal 109. Weak Mutation 445: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> /
* Goal 110. Weak Mutation 446: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> start
* Goal 111. Weak Mutation 447: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> sz
* Goal 112. Weak Mutation 448: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of i
* Goal 113. Weak Mutation 449: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 i
* Goal 114. Weak Mutation 450: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 i
* Goal 115. Weak Mutation 451: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> start
* Goal 116. Weak Mutation 452: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> i
* Goal 117. Weak Mutation 453: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of sz
* Goal 118. Weak Mutation 454: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 sz
* Goal 119. Weak Mutation 455: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 sz
* Goal 120. Weak Mutation 458: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceComparisonOperator != -> >
* Goal 121. Weak Mutation 460: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> start
* Goal 122. Weak Mutation 461: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> sz
* Goal 123. Weak Mutation 462: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp Negation of i
* Goal 124. Weak Mutation 463: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC 1 i
* Goal 125. Weak Mutation 464: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC -1 i
* Goal 126. Weak Mutation 465: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceComparisonOperator >= -> -1
* Goal 127. Weak Mutation 468: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 128. Weak Mutation 469: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 129. Weak Mutation 470: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 130. Weak Mutation 471: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 131. Weak Mutation 472: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 132. Weak Mutation 473: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 0
* Goal 133. Weak Mutation 474: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 1
* Goal 134. Weak Mutation 475: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> -1
* Goal 135. Weak Mutation 476: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 47
* Goal 136. Weak Mutation 477: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 49
* Goal 137. Weak Mutation 478: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> !=
* Goal 138. Weak Mutation 481: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 139. Weak Mutation 482: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 140. Weak Mutation 483: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 141. Weak Mutation 484: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 142. Weak Mutation 485: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 143. Weak Mutation 486: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 0
* Goal 144. Weak Mutation 487: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 1
* Goal 145. Weak Mutation 488: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> -1
* Goal 146. Weak Mutation 489: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 56
* Goal 147. Weak Mutation 490: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 58
* Goal 148. Weak Mutation 491: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> -1
* Goal 149. Weak Mutation 494: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 150. Weak Mutation 495: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 151. Weak Mutation 496: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 152. Weak Mutation 497: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 153. Weak Mutation 498: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 154. Weak Mutation 499: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 0
* Goal 155. Weak Mutation 500: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 1
* Goal 156. Weak Mutation 501: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> -1
* Goal 157. Weak Mutation 502: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 96
* Goal 158. Weak Mutation 503: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 98
* Goal 159. Weak Mutation 504: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> !=
* Goal 160. Weak Mutation 505: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> -2
* Goal 161. Weak Mutation 507: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 162. Weak Mutation 508: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 163. Weak Mutation 509: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 164. Weak Mutation 510: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 165. Weak Mutation 511: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 166. Weak Mutation 512: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 0
* Goal 167. Weak Mutation 513: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 1
* Goal 168. Weak Mutation 514: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> -1
* Goal 169. Weak Mutation 515: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 101
* Goal 170. Weak Mutation 516: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 103
* Goal 171. Weak Mutation 519: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> ==
* Goal 172. Weak Mutation 520: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 173. Weak Mutation 521: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 174. Weak Mutation 522: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 175. Weak Mutation 523: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 176. Weak Mutation 524: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 177. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test42() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("0xcW");
}
//Test case number: 43
/*
* 174 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I112 Branch 79 IF_ICMPLE L637 - false
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - false
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I123 Branch 81 IF_ICMPLE L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I112 Branch 79 IF_ICMPLE L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 631
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 632
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 636
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 637
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 640
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 44. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 45. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 46. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 47. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 48. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 49. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 50. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 51. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 52. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 53. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 54. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 55. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 56. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 57. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 58. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 59. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 60. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 61. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 62. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 63. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 64. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 65. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 66. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 67. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 68. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 69. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 70. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 71. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 72. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 73. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 74. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 75. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 76. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 77. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 78. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 79. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 80. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 81. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 82. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 83. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 84. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 85. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 86. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 87. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 88. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 89. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 90. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 91. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 92. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 93. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 94. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 95. Weak Mutation 431: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 96. Weak Mutation 434: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceVariable start -> sz
* Goal 97. Weak Mutation 435: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp Negation of start
* Goal 98. Weak Mutation 436: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC 1 start
* Goal 99. Weak Mutation 437: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC -1 start
* Goal 100. Weak Mutation 438: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 0
* Goal 101. Weak Mutation 439: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 1
* Goal 102. Weak Mutation 440: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> -1
* Goal 103. Weak Mutation 441: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 3
* Goal 104. Weak Mutation 442: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> %
* Goal 105. Weak Mutation 443: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> -
* Goal 106. Weak Mutation 444: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> *
* Goal 107. Weak Mutation 445: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> /
* Goal 108. Weak Mutation 446: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> start
* Goal 109. Weak Mutation 447: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> sz
* Goal 110. Weak Mutation 448: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of i
* Goal 111. Weak Mutation 449: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 i
* Goal 112. Weak Mutation 450: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 i
* Goal 113. Weak Mutation 451: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> start
* Goal 114. Weak Mutation 452: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> i
* Goal 115. Weak Mutation 453: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of sz
* Goal 116. Weak Mutation 454: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 sz
* Goal 117. Weak Mutation 455: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 sz
* Goal 118. Weak Mutation 458: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceComparisonOperator != -> >
* Goal 119. Weak Mutation 460: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> start
* Goal 120. Weak Mutation 461: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> sz
* Goal 121. Weak Mutation 462: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp Negation of i
* Goal 122. Weak Mutation 463: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC 1 i
* Goal 123. Weak Mutation 464: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC -1 i
* Goal 124. Weak Mutation 465: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceComparisonOperator >= -> -1
* Goal 125. Weak Mutation 468: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 126. Weak Mutation 469: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 127. Weak Mutation 470: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 128. Weak Mutation 471: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 129. Weak Mutation 472: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 130. Weak Mutation 473: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 0
* Goal 131. Weak Mutation 474: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 1
* Goal 132. Weak Mutation 475: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> -1
* Goal 133. Weak Mutation 476: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 47
* Goal 134. Weak Mutation 477: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 49
* Goal 135. Weak Mutation 478: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> !=
* Goal 136. Weak Mutation 481: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 137. Weak Mutation 482: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 138. Weak Mutation 483: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 139. Weak Mutation 484: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 140. Weak Mutation 485: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 141. Weak Mutation 486: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 0
* Goal 142. Weak Mutation 487: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 1
* Goal 143. Weak Mutation 488: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> -1
* Goal 144. Weak Mutation 489: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 56
* Goal 145. Weak Mutation 490: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 58
* Goal 146. Weak Mutation 491: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> -1
* Goal 147. Weak Mutation 494: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 148. Weak Mutation 495: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 149. Weak Mutation 496: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 150. Weak Mutation 497: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 151. Weak Mutation 498: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 152. Weak Mutation 499: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 0
* Goal 153. Weak Mutation 500: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 1
* Goal 154. Weak Mutation 501: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> -1
* Goal 155. Weak Mutation 502: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 96
* Goal 156. Weak Mutation 503: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 98
* Goal 157. Weak Mutation 504: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> !=
* Goal 158. Weak Mutation 507: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 159. Weak Mutation 508: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 160. Weak Mutation 509: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 161. Weak Mutation 510: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 162. Weak Mutation 511: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 163. Weak Mutation 512: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 0
* Goal 164. Weak Mutation 513: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 1
* Goal 165. Weak Mutation 514: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> -1
* Goal 166. Weak Mutation 515: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 101
* Goal 167. Weak Mutation 516: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 102 -> 103
* Goal 168. Weak Mutation 517: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> -1
* Goal 169. Weak Mutation 520: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 170. Weak Mutation 521: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 171. Weak Mutation 522: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 172. Weak Mutation 523: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 173. Weak Mutation 524: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 174. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test43() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("-0xl.x@d}0U&_%%FoM");
}
//Test case number: 44
/*
* 142 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - true
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - true
* Goal 11. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 12. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 13. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 22. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 23. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 24. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 631
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 632
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 636
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 637
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 643
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 38. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 39. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 40. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 41. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 42. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 43. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 44. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 45. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 46. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 47. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 48. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 49. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 50. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 51. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 52. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 53. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 54. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 55. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 56. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 57. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 58. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 59. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 60. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 61. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 62. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 63. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 64. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 65. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 66. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 67. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 68. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 69. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 70. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 71. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 72. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 73. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 74. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 75. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 76. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 77. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 78. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 79. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 80. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 81. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 82. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 83. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 84. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 85. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 86. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 87. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 88. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 89. Weak Mutation 431: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 90. Weak Mutation 434: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceVariable start -> sz
* Goal 91. Weak Mutation 435: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp Negation of start
* Goal 92. Weak Mutation 436: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC 1 start
* Goal 93. Weak Mutation 437: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC -1 start
* Goal 94. Weak Mutation 438: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 0
* Goal 95. Weak Mutation 439: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 1
* Goal 96. Weak Mutation 440: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> -1
* Goal 97. Weak Mutation 441: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 3
* Goal 98. Weak Mutation 442: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> %
* Goal 99. Weak Mutation 443: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> -
* Goal 100. Weak Mutation 444: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> *
* Goal 101. Weak Mutation 445: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> /
* Goal 102. Weak Mutation 446: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> start
* Goal 103. Weak Mutation 447: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> sz
* Goal 104. Weak Mutation 448: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of i
* Goal 105. Weak Mutation 449: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 i
* Goal 106. Weak Mutation 450: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 i
* Goal 107. Weak Mutation 451: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> start
* Goal 108. Weak Mutation 452: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> i
* Goal 109. Weak Mutation 453: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of sz
* Goal 110. Weak Mutation 454: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 sz
* Goal 111. Weak Mutation 455: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 sz
* Goal 112. Weak Mutation 458: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceComparisonOperator != -> >
* Goal 113. Weak Mutation 460: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> start
* Goal 114. Weak Mutation 461: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> sz
* Goal 115. Weak Mutation 462: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp Negation of i
* Goal 116. Weak Mutation 463: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC 1 i
* Goal 117. Weak Mutation 464: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC -1 i
* Goal 118. Weak Mutation 465: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceComparisonOperator >= -> -1
* Goal 119. Weak Mutation 466: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceComparisonOperator >= -> >
* Goal 120. Weak Mutation 468: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 121. Weak Mutation 469: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 122. Weak Mutation 470: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 123. Weak Mutation 471: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 124. Weak Mutation 472: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 125. Weak Mutation 473: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 0
* Goal 126. Weak Mutation 474: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 1
* Goal 127. Weak Mutation 475: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> -1
* Goal 128. Weak Mutation 476: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 47
* Goal 129. Weak Mutation 477: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 49
* Goal 130. Weak Mutation 478: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> !=
* Goal 131. Weak Mutation 481: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 132. Weak Mutation 482: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 133. Weak Mutation 483: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 134. Weak Mutation 484: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 135. Weak Mutation 485: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 136. Weak Mutation 486: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 0
* Goal 137. Weak Mutation 487: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 1
* Goal 138. Weak Mutation 488: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> -1
* Goal 139. Weak Mutation 489: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 56
* Goal 140. Weak Mutation 490: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 58
* Goal 141. Weak Mutation 493: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> ==
* Goal 142. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:true
*/
@Test
public void test44() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("0x8");
}
//Test case number: 45
/*
* 102 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - false
* Goal 7. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 8. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 9. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 10. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 11. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 12. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 15. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 16. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 17. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 18. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 19. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 20. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 21. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 22. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 23. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 631
* Goal 24. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 632
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 633
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 28. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 29. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 30. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 31. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 32. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 33. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 34. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 35. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 36. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 37. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 38. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 39. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 40. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 41. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 42. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 43. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 44. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 45. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 46. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 47. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 48. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 49. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 50. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 51. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 52. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 53. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 54. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 55. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 56. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 57. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 58. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 59. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 60. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 61. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 62. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 63. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 64. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 65. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 66. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 67. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 68. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 69. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 70. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 71. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 72. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 73. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 74. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 75. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 76. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 77. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 78. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 79. Weak Mutation 431: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 80. Weak Mutation 434: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceVariable start -> sz
* Goal 81. Weak Mutation 435: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp Negation of start
* Goal 82. Weak Mutation 436: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC 1 start
* Goal 83. Weak Mutation 437: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC -1 start
* Goal 84. Weak Mutation 438: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 0
* Goal 85. Weak Mutation 439: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 1
* Goal 86. Weak Mutation 440: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> -1
* Goal 87. Weak Mutation 441: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 3
* Goal 88. Weak Mutation 442: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> %
* Goal 89. Weak Mutation 443: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> -
* Goal 90. Weak Mutation 444: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> *
* Goal 91. Weak Mutation 445: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> /
* Goal 92. Weak Mutation 446: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> start
* Goal 93. Weak Mutation 448: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of i
* Goal 94. Weak Mutation 449: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 i
* Goal 95. Weak Mutation 450: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 i
* Goal 96. Weak Mutation 451: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> start
* Goal 97. Weak Mutation 453: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of sz
* Goal 98. Weak Mutation 454: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 sz
* Goal 99. Weak Mutation 455: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 sz
* Goal 100. Weak Mutation 456: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceComparisonOperator != -> -1
* Goal 101. Weak Mutation 459: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:633 - ReplaceConstant - 0 -> 1
* Goal 102. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test45() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("-0x");
}
//Test case number: 46
/*
* 103 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - false
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I168 Branch 87 IF_ICMPGT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 652
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 653
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 654
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 682
* Goal 46. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 684
* Goal 47. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 685
* Goal 48. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 687
* Goal 49. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 50. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 51. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 52. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 53. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 54. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 55. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 56. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 57. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 58. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 59. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 60. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 61. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 62. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 63. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 64. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 65. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 66. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 67. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 68. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 69. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 70. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 71. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 72. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 73. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 74. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 75. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 76. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 77. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 78. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 79. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 80. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 81. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 82. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 83. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 84. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 85. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 86. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 87. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 88. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 89. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 90. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 91. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 92. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 93. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 94. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 95. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 96. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 97. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 98. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 99. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 100. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 101. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 102. Weak Mutation 433: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> >
* Goal 103. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:true
*/
@Test
public void test46() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("07");
}
//Test case number: 47
/*
* 162 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - true
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - true
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - true
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - true
* Goal 13. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I68 Branch 73 IF_ICMPNE L630 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I79 Branch 74 IF_ICMPNE L632 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I89 Branch 75 IF_ICMPGE L636 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I118 Branch 80 IF_ICMPLT L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I107 Branch 78 IF_ICMPLT L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I96 Branch 76 IF_ICMPLT L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I101 Branch 77 IF_ICMPLE L637 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 631
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 632
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 636
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 637
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 640
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 42. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 43. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 44. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 45. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 46. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 47. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 48. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 49. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 50. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 51. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 52. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 53. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 54. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 55. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 56. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 57. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 58. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 59. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 60. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 61. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 62. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 63. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 64. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 65. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 66. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 67. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 68. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 69. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 70. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 71. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 72. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 73. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 74. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 75. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 76. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 77. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 78. Weak Mutation 414: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 79. Weak Mutation 417: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 80. Weak Mutation 418: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 81. Weak Mutation 419: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 82. Weak Mutation 420: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 83. Weak Mutation 421: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 1 -> 0
* Goal 84. Weak Mutation 422: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> %
* Goal 85. Weak Mutation 423: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> -
* Goal 86. Weak Mutation 424: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> *
* Goal 87. Weak Mutation 425: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceArithmeticOperator + -> /
* Goal 88. Weak Mutation 426: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 0
* Goal 89. Weak Mutation 427: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 1
* Goal 90. Weak Mutation 428: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> -1
* Goal 91. Weak Mutation 429: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 119
* Goal 92. Weak Mutation 430: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 120 -> 121
* Goal 93. Weak Mutation 431: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> -1
* Goal 94. Weak Mutation 434: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceVariable start -> sz
* Goal 95. Weak Mutation 435: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp Negation of start
* Goal 96. Weak Mutation 436: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC 1 start
* Goal 97. Weak Mutation 437: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - InsertUnaryOp IINC -1 start
* Goal 98. Weak Mutation 438: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 0
* Goal 99. Weak Mutation 439: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 1
* Goal 100. Weak Mutation 440: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> -1
* Goal 101. Weak Mutation 441: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceConstant - 2 -> 3
* Goal 102. Weak Mutation 442: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> %
* Goal 103. Weak Mutation 443: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> -
* Goal 104. Weak Mutation 444: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> *
* Goal 105. Weak Mutation 445: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:631 - ReplaceArithmeticOperator + -> /
* Goal 106. Weak Mutation 446: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> start
* Goal 107. Weak Mutation 447: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable i -> sz
* Goal 108. Weak Mutation 448: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of i
* Goal 109. Weak Mutation 449: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 i
* Goal 110. Weak Mutation 450: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 i
* Goal 111. Weak Mutation 451: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> start
* Goal 112. Weak Mutation 452: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceVariable sz -> i
* Goal 113. Weak Mutation 453: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp Negation of sz
* Goal 114. Weak Mutation 454: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC 1 sz
* Goal 115. Weak Mutation 455: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - InsertUnaryOp IINC -1 sz
* Goal 116. Weak Mutation 458: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:632 - ReplaceComparisonOperator != -> >
* Goal 117. Weak Mutation 460: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> start
* Goal 118. Weak Mutation 461: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceVariable i -> sz
* Goal 119. Weak Mutation 462: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp Negation of i
* Goal 120. Weak Mutation 463: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC 1 i
* Goal 121. Weak Mutation 464: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - InsertUnaryOp IINC -1 i
* Goal 122. Weak Mutation 465: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:636 - ReplaceComparisonOperator >= -> -1
* Goal 123. Weak Mutation 468: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 124. Weak Mutation 469: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 125. Weak Mutation 470: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 126. Weak Mutation 471: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 127. Weak Mutation 472: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 128. Weak Mutation 473: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 0
* Goal 129. Weak Mutation 474: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 1
* Goal 130. Weak Mutation 475: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> -1
* Goal 131. Weak Mutation 476: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 47
* Goal 132. Weak Mutation 477: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 48 -> 49
* Goal 133. Weak Mutation 478: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> !=
* Goal 134. Weak Mutation 479: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> -2
* Goal 135. Weak Mutation 481: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 136. Weak Mutation 482: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 137. Weak Mutation 483: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 138. Weak Mutation 484: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 139. Weak Mutation 485: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 140. Weak Mutation 486: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 0
* Goal 141. Weak Mutation 487: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 1
* Goal 142. Weak Mutation 488: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> -1
* Goal 143. Weak Mutation 489: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 56
* Goal 144. Weak Mutation 490: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 57 -> 58
* Goal 145. Weak Mutation 492: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator <= -> <
* Goal 146. Weak Mutation 494: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 147. Weak Mutation 495: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 148. Weak Mutation 496: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 149. Weak Mutation 497: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 150. Weak Mutation 498: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 151. Weak Mutation 499: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 0
* Goal 152. Weak Mutation 500: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 1
* Goal 153. Weak Mutation 501: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> -1
* Goal 154. Weak Mutation 502: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 96
* Goal 155. Weak Mutation 503: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceConstant - 97 -> 98
* Goal 156. Weak Mutation 505: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceComparisonOperator < -> -2
* Goal 157. Weak Mutation 520: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> start
* Goal 158. Weak Mutation 521: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - ReplaceVariable i -> sz
* Goal 159. Weak Mutation 522: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp Negation of i
* Goal 160. Weak Mutation 523: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC 1 i
* Goal 161. Weak Mutation 524: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:637 - InsertUnaryOp IINC -1 i
* Goal 162. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test47() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("-0x9&PoNCU=,]c*N~ P7F");
}
//Test case number: 48
/*
* 83 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - true
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - true
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I243 Branch 95 IF_ICMPEQ L673 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I248 Branch 96 IF_ICMPNE L673 - false
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I252 Branch 97 IFNE L674 - false
* Goal 13. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 14. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 15. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 16. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I61 Branch 72 IF_ICMPNE L630 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 17. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 18. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I163 Branch 86 IF_ICMPLT L652 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I184 Branch 88 IF_ICMPNE L656 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I211 Branch 92 IF_ICMPNE L662 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I206 Branch 91 IF_ICMPEQ L662 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I243 Branch 95 IF_ICMPEQ L673 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I248 Branch 96 IF_ICMPNE L673 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I252 Branch 97 IFNE L674 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 26. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 27. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 28. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 29. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 30. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 31. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 32. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 33. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 34. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 630
* Goal 35. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 36. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 652
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 656
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 662
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 673
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 674
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 675
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 46. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 47. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 48. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 49. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 50. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 51. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 52. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 53. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 54. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 55. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 56. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 57. Weak Mutation 384: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> -1
* Goal 58. Weak Mutation 387: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 1 -> 0
* Goal 59. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 60. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 61. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 62. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 63. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 64. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 65. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 66. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 67. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 68. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 69. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 70. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 71. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 72. Weak Mutation 402: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> -1
* Goal 73. Weak Mutation 405: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceVariable start -> sz
* Goal 74. Weak Mutation 406: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp Negation of start
* Goal 75. Weak Mutation 407: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC 1 start
* Goal 76. Weak Mutation 408: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - InsertUnaryOp IINC -1 start
* Goal 77. Weak Mutation 409: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 0
* Goal 78. Weak Mutation 410: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 1
* Goal 79. Weak Mutation 411: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> -1
* Goal 80. Weak Mutation 412: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 47
* Goal 81. Weak Mutation 413: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceConstant - 48 -> 49
* Goal 82. Weak Mutation 416: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:630 - ReplaceComparisonOperator != -> >
* Goal 83. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test48() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("----");
}
//Test case number: 49
/*
* 9 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - false
* Goal 2. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 619
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 7. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 8. Weak Mutation 373: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:619 - ReplaceConstant - 0 -> 1
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test49() throws Throwable {
boolean boolean0 = NumberUtils.isNumber((String) null);
}
//Test case number: 50
/*
* 84 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true
* Goal 2. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true
* Goal 4. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false
* Goal 6. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true
* Goal 7. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false
* Goal 8. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false
* Goal 9. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true
* Goal 10. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false
* Goal 11. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true
* Goal 12. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false
* Goal 13. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false
* Goal 14. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false
* Goal 15. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false
* Goal 16. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - true
* Goal 17. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I346 Branch 108 IF_ICMPEQ L700 - true
* Goal 18. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I355 Branch 110 IFEQ L703 - true
* Goal 19. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I4 Branch 69 IFEQ L618 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 20. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I41 Branch 70 IF_ICMPNE L628 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 21. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I54 Branch 71 IF_ICMPLE L629 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 22. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I154 Branch 84 IFEQ L651 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 23. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I152 Branch 83 IF_ICMPGE L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 24. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I147 Branch 82 IF_ICMPLT L651 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 25. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I279 Branch 98 IF_ICMPGE L684 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 26. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I291 Branch 100 IF_ICMPGT L685 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 27. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I286 Branch 99 IF_ICMPLT L685 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 28. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I307 Branch 102 IF_ICMPNE L689 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 29. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I302 Branch 101 IF_ICMPEQ L689 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 30. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I325 Branch 105 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 31. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I330 Branch 106 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 32. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I320 Branch 104 IF_ICMPEQ L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 33. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I315 Branch 103 IFNE L693 - false in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 34. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I335 Branch 107 IF_ICMPNE L693 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 35. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I346 Branch 108 IF_ICMPEQ L700 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 36. Branch org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: I355 Branch 110 IFEQ L703 - true in context: org.apache.commons.lang.NumberUtils:isNumber(Ljava/lang/String;)Z
* Goal 37. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 618
* Goal 38. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 621
* Goal 39. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 622
* Goal 40. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 623
* Goal 41. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 624
* Goal 42. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 625
* Goal 43. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 626
* Goal 44. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 628
* Goal 45. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 629
* Goal 46. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 646
* Goal 47. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 648
* Goal 48. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 651
* Goal 49. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 684
* Goal 50. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 685
* Goal 51. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 689
* Goal 52. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 693
* Goal 53. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 700
* Goal 54. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z: Line 703
* Goal 55. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 56. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z
* Goal 57. Weak Mutation 372: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:618 - ReplaceComparisonOperator == -> !=
* Goal 58. Weak Mutation 374: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:623 - ReplaceConstant - 0 -> 1
* Goal 59. Weak Mutation 375: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:624 - ReplaceConstant - 0 -> 1
* Goal 60. Weak Mutation 376: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:625 - ReplaceConstant - 0 -> 1
* Goal 61. Weak Mutation 377: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:626 - ReplaceConstant - 0 -> 1
* Goal 62. Weak Mutation 378: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 63. Weak Mutation 379: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 0
* Goal 64. Weak Mutation 380: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 1
* Goal 65. Weak Mutation 381: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> -1
* Goal 66. Weak Mutation 382: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 44
* Goal 67. Weak Mutation 383: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 45 -> 46
* Goal 68. Weak Mutation 385: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceComparisonOperator != -> <
* Goal 69. Weak Mutation 388: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:628 - ReplaceConstant - 0 -> 1
* Goal 70. Weak Mutation 389: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable sz -> start
* Goal 71. Weak Mutation 390: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of sz
* Goal 72. Weak Mutation 391: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 sz
* Goal 73. Weak Mutation 392: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 sz
* Goal 74. Weak Mutation 393: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceVariable start -> sz
* Goal 75. Weak Mutation 394: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp Negation of start
* Goal 76. Weak Mutation 395: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC 1 start
* Goal 77. Weak Mutation 396: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - InsertUnaryOp IINC -1 start
* Goal 78. Weak Mutation 397: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceConstant - 1 -> 0
* Goal 79. Weak Mutation 398: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> %
* Goal 80. Weak Mutation 399: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> -
* Goal 81. Weak Mutation 400: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> *
* Goal 82. Weak Mutation 401: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceArithmeticOperator + -> /
* Goal 83. Weak Mutation 403: org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:629 - ReplaceComparisonOperator <= -> <
* Goal 84. org.apache.commons.lang.NumberUtils.isNumber(Ljava/lang/String;)Z:false
*/
@Test
public void test50() throws Throwable {
boolean boolean0 = NumberUtils.isNumber("l");
}
//Test case number: 51
/*
* 30 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - false
* Goal 2. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I6 Branch 66 IFNE L593 - true
* Goal 3. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I19 Branch 67 IF_ICMPGE L596 - true
* Goal 4. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I19 Branch 67 IF_ICMPGE L596 - false
* Goal 5. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I26 Branch 68 IFNE L597 - true
* Goal 6. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - false in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 7. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I6 Branch 66 IFNE L593 - true in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 8. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I19 Branch 67 IF_ICMPGE L596 - true in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 9. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I19 Branch 67 IF_ICMPGE L596 - false in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 10. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I26 Branch 68 IFNE L597 - true in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 11. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 593
* Goal 12. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 596
* Goal 13. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 597
* Goal 14. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 601
* Goal 15. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 16. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 17. Weak Mutation 354: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator = null -> != null
* Goal 18. Weak Mutation 356: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator != -> <
* Goal 19. Weak Mutation 359: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - ReplaceConstant - 0 -> 1
* Goal 20. Weak Mutation 360: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp Negation of i
* Goal 21. Weak Mutation 361: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp IINC 1 i
* Goal 22. Weak Mutation 362: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp IINC -1 i
* Goal 23. Weak Mutation 363: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - ReplaceComparisonOperator >= -> -1
* Goal 24. Weak Mutation 364: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - ReplaceComparisonOperator >= -> >
* Goal 25. Weak Mutation 366: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp Negation of i
* Goal 26. Weak Mutation 367: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp IINC 1 i
* Goal 27. Weak Mutation 368: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp IINC -1 i
* Goal 28. Weak Mutation 369: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - ReplaceComparisonOperator != -> ==
* Goal 29. Weak Mutation 371: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:601 - ReplaceConstant - 1 -> 0
* Goal 30. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:true
*/
@Test
public void test51() throws Throwable {
boolean boolean0 = NumberUtils.isDigits("3");
}
//Test case number: 52
/*
* 12 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - false
* Goal 2. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I6 Branch 66 IFNE L593 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I6 Branch 66 IFNE L593 - false in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 4. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - false in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 5. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 593
* Goal 6. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 594
* Goal 7. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 8. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 9. Weak Mutation 354: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator = null -> != null
* Goal 10. Weak Mutation 355: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator != -> -1
* Goal 11. Weak Mutation 358: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:594 - ReplaceConstant - 0 -> 1
* Goal 12. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:false
*/
@Test
public void test52() throws Throwable {
boolean boolean0 = NumberUtils.isDigits("");
}
//Test case number: 53
/*
* 9 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - true
* Goal 2. Branch org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - true in context: org.apache.commons.lang.NumberUtils:isDigits(Ljava/lang/String;)Z
* Goal 3. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 593
* Goal 4. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 594
* Goal 5. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 6. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z
* Goal 7. Weak Mutation 354: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator = null -> != null
* Goal 8. Weak Mutation 358: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:594 - ReplaceConstant - 0 -> 1
* Goal 9. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:false
*/
@Test
public void test53() throws Throwable {
boolean boolean0 = NumberUtils.isDigits((String) null);
}
//Test case number: 54
/*
* 21 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.compare(FF)I: I5 Branch 61 IFGE L552 - true
* Goal 2. org.apache.commons.lang.NumberUtils.compare(FF)I: I15 Branch 62 IFLE L555 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.compare(FF)I: I5 Branch 61 IFGE L552 - true in context: org.apache.commons.lang.NumberUtils:compare(FF)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.compare(FF)I: I15 Branch 62 IFLE L555 - false in context: org.apache.commons.lang.NumberUtils:compare(FF)I
* Goal 5. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 552
* Goal 6. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 555
* Goal 7. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 556
* Goal 8. org.apache.commons.lang.NumberUtils.compare(FF)I
* Goal 9. org.apache.commons.lang.NumberUtils.compare(FF)I
* Goal 10. Weak Mutation 305: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - ReplaceVariable lhs -> rhs
* Goal 11. Weak Mutation 306: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - InsertUnaryOp Negation of lhs
* Goal 12. Weak Mutation 307: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - ReplaceVariable rhs -> lhs
* Goal 13. Weak Mutation 308: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - InsertUnaryOp Negation of rhs
* Goal 14. Weak Mutation 310: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - ReplaceComparisonOperator >= -> ==
* Goal 15. Weak Mutation 315: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - ReplaceVariable lhs -> rhs
* Goal 16. Weak Mutation 316: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - InsertUnaryOp Negation of lhs
* Goal 17. Weak Mutation 317: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - ReplaceVariable rhs -> lhs
* Goal 18. Weak Mutation 318: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - InsertUnaryOp Negation of rhs
* Goal 19. Weak Mutation 319: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - ReplaceComparisonOperator <= -> -1
* Goal 20. Weak Mutation 322: org.apache.commons.lang.NumberUtils.compare(FF)I:556 - ReplaceConstant - 1 -> 0
* Goal 21. org.apache.commons.lang.NumberUtils.compare(FF)I:positive
*/
@Test
public void test54() throws Throwable {
int int0 = NumberUtils.compare(1.0F, 0.0F);
}
//Test case number: 55
/*
* 15 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.compare(FF)I: I5 Branch 61 IFGE L552 - false
* Goal 2. Branch org.apache.commons.lang.NumberUtils.compare(FF)I: I5 Branch 61 IFGE L552 - false in context: org.apache.commons.lang.NumberUtils:compare(FF)I
* Goal 3. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 552
* Goal 4. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 553
* Goal 5. org.apache.commons.lang.NumberUtils.compare(FF)I
* Goal 6. org.apache.commons.lang.NumberUtils.compare(FF)I
* Goal 7. Weak Mutation 305: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - ReplaceVariable lhs -> rhs
* Goal 8. Weak Mutation 306: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - InsertUnaryOp Negation of lhs
* Goal 9. Weak Mutation 307: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - ReplaceVariable rhs -> lhs
* Goal 10. Weak Mutation 308: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - InsertUnaryOp Negation of rhs
* Goal 11. Weak Mutation 309: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - ReplaceComparisonOperator >= -> -1
* Goal 12. Weak Mutation 312: org.apache.commons.lang.NumberUtils.compare(FF)I:553 - ReplaceConstant - -1 -> 0
* Goal 13. Weak Mutation 313: org.apache.commons.lang.NumberUtils.compare(FF)I:553 - ReplaceConstant - -1 -> 1
* Goal 14. Weak Mutation 314: org.apache.commons.lang.NumberUtils.compare(FF)I:553 - ReplaceConstant - -1 -> -2
* Goal 15. org.apache.commons.lang.NumberUtils.compare(FF)I:negative
*/
@Test
public void test55() throws Throwable {
int int0 = NumberUtils.compare((-330.3647F), 3300.44F);
}
//Test case number: 56
/*
* 31 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.compare(FF)I: I5 Branch 61 IFGE L552 - true
* Goal 2. org.apache.commons.lang.NumberUtils.compare(FF)I: I15 Branch 62 IFLE L555 - true
* Goal 3. org.apache.commons.lang.NumberUtils.compare(FF)I: I34 Branch 63 IF_ICMPNE L564 - false
* Goal 4. Branch org.apache.commons.lang.NumberUtils.compare(FF)I: I5 Branch 61 IFGE L552 - true in context: org.apache.commons.lang.NumberUtils:compare(FF)I
* Goal 5. Branch org.apache.commons.lang.NumberUtils.compare(FF)I: I15 Branch 62 IFLE L555 - true in context: org.apache.commons.lang.NumberUtils:compare(FF)I
* Goal 6. Branch org.apache.commons.lang.NumberUtils.compare(FF)I: I34 Branch 63 IF_ICMPNE L564 - false in context: org.apache.commons.lang.NumberUtils:compare(FF)I
* Goal 7. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 552
* Goal 8. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 555
* Goal 9. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 562
* Goal 10. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 563
* Goal 11. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 564
* Goal 12. org.apache.commons.lang.NumberUtils.compare(FF)I: Line 565
* Goal 13. org.apache.commons.lang.NumberUtils.compare(FF)I
* Goal 14. org.apache.commons.lang.NumberUtils.compare(FF)I
* Goal 15. Weak Mutation 306: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - InsertUnaryOp Negation of lhs
* Goal 16. Weak Mutation 308: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - InsertUnaryOp Negation of rhs
* Goal 17. Weak Mutation 311: org.apache.commons.lang.NumberUtils.compare(FF)I:552 - ReplaceComparisonOperator >= -> >
* Goal 18. Weak Mutation 316: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - InsertUnaryOp Negation of lhs
* Goal 19. Weak Mutation 318: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - InsertUnaryOp Negation of rhs
* Goal 20. Weak Mutation 321: org.apache.commons.lang.NumberUtils.compare(FF)I:555 - ReplaceComparisonOperator <= -> <
* Goal 21. Weak Mutation 324: org.apache.commons.lang.NumberUtils.compare(FF)I:562 - InsertUnaryOp Negation of lhs
* Goal 22. Weak Mutation 326: org.apache.commons.lang.NumberUtils.compare(FF)I:563 - InsertUnaryOp Negation of rhs
* Goal 23. Weak Mutation 328: org.apache.commons.lang.NumberUtils.compare(FF)I:564 - InsertUnaryOp Negation of lhsBits
* Goal 24. Weak Mutation 329: org.apache.commons.lang.NumberUtils.compare(FF)I:564 - InsertUnaryOp IINC 1 lhsBits
* Goal 25. Weak Mutation 330: org.apache.commons.lang.NumberUtils.compare(FF)I:564 - InsertUnaryOp IINC -1 lhsBits
* Goal 26. Weak Mutation 332: org.apache.commons.lang.NumberUtils.compare(FF)I:564 - InsertUnaryOp Negation of rhsBits
* Goal 27. Weak Mutation 333: org.apache.commons.lang.NumberUtils.compare(FF)I:564 - InsertUnaryOp IINC 1 rhsBits
* Goal 28. Weak Mutation 334: org.apache.commons.lang.NumberUtils.compare(FF)I:564 - InsertUnaryOp IINC -1 rhsBits
* Goal 29. Weak Mutation 335: org.apache.commons.lang.NumberUtils.compare(FF)I:564 - ReplaceComparisonOperator != -> -1
* Goal 30. Weak Mutation 338: org.apache.commons.lang.NumberUtils.compare(FF)I:565 - ReplaceConstant - 0 -> 1
* Goal 31. org.apache.commons.lang.NumberUtils.compare(FF)I:zero
*/
@Test
public void test56() throws Throwable {
int int0 = NumberUtils.compare(3958.4678F, 3958.4678F);
}
//Test case number: 57
/*
* 27 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.compare(DD)I: I5 Branch 57 IFGE L491 - true
* Goal 2. org.apache.commons.lang.NumberUtils.compare(DD)I: I15 Branch 58 IFLE L494 - true
* Goal 3. org.apache.commons.lang.NumberUtils.compare(DD)I: I35 Branch 59 IFNE L503 - false
* Goal 4. Branch org.apache.commons.lang.NumberUtils.compare(DD)I: I5 Branch 57 IFGE L491 - true in context: org.apache.commons.lang.NumberUtils:compare(DD)I
* Goal 5. Branch org.apache.commons.lang.NumberUtils.compare(DD)I: I15 Branch 58 IFLE L494 - true in context: org.apache.commons.lang.NumberUtils:compare(DD)I
* Goal 6. Branch org.apache.commons.lang.NumberUtils.compare(DD)I: I35 Branch 59 IFNE L503 - false in context: org.apache.commons.lang.NumberUtils:compare(DD)I
* Goal 7. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 491
* Goal 8. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 494
* Goal 9. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 501
* Goal 10. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 502
* Goal 11. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 503
* Goal 12. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 504
* Goal 13. org.apache.commons.lang.NumberUtils.compare(DD)I
* Goal 14. org.apache.commons.lang.NumberUtils.compare(DD)I
* Goal 15. Weak Mutation 265: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - InsertUnaryOp Negation of lhs
* Goal 16. Weak Mutation 267: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - InsertUnaryOp Negation of rhs
* Goal 17. Weak Mutation 270: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - ReplaceComparisonOperator >= -> >
* Goal 18. Weak Mutation 275: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - InsertUnaryOp Negation of lhs
* Goal 19. Weak Mutation 277: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - InsertUnaryOp Negation of rhs
* Goal 20. Weak Mutation 280: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - ReplaceComparisonOperator <= -> <
* Goal 21. Weak Mutation 283: org.apache.commons.lang.NumberUtils.compare(DD)I:501 - InsertUnaryOp Negation of lhs
* Goal 22. Weak Mutation 285: org.apache.commons.lang.NumberUtils.compare(DD)I:502 - InsertUnaryOp Negation of rhs
* Goal 23. Weak Mutation 287: org.apache.commons.lang.NumberUtils.compare(DD)I:503 - InsertUnaryOp Negation of lhsBits
* Goal 24. Weak Mutation 289: org.apache.commons.lang.NumberUtils.compare(DD)I:503 - InsertUnaryOp Negation of rhsBits
* Goal 25. Weak Mutation 290: org.apache.commons.lang.NumberUtils.compare(DD)I:503 - ReplaceComparisonOperator != -> -1
* Goal 26. Weak Mutation 293: org.apache.commons.lang.NumberUtils.compare(DD)I:504 - ReplaceConstant - 0 -> 1
* Goal 27. org.apache.commons.lang.NumberUtils.compare(DD)I:zero
*/
@Test
public void test57() throws Throwable {
int int0 = NumberUtils.compare((double) 0, (double) 0);
}
//Test case number: 58
/*
* 15 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.compare(DD)I: I5 Branch 57 IFGE L491 - false
* Goal 2. Branch org.apache.commons.lang.NumberUtils.compare(DD)I: I5 Branch 57 IFGE L491 - false in context: org.apache.commons.lang.NumberUtils:compare(DD)I
* Goal 3. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 491
* Goal 4. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 492
* Goal 5. org.apache.commons.lang.NumberUtils.compare(DD)I
* Goal 6. org.apache.commons.lang.NumberUtils.compare(DD)I
* Goal 7. Weak Mutation 264: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - ReplaceVariable lhs -> rhs
* Goal 8. Weak Mutation 265: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - InsertUnaryOp Negation of lhs
* Goal 9. Weak Mutation 266: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - ReplaceVariable rhs -> lhs
* Goal 10. Weak Mutation 267: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - InsertUnaryOp Negation of rhs
* Goal 11. Weak Mutation 268: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - ReplaceComparisonOperator >= -> -1
* Goal 12. Weak Mutation 271: org.apache.commons.lang.NumberUtils.compare(DD)I:492 - ReplaceConstant - -1 -> 0
* Goal 13. Weak Mutation 272: org.apache.commons.lang.NumberUtils.compare(DD)I:492 - ReplaceConstant - -1 -> 1
* Goal 14. Weak Mutation 273: org.apache.commons.lang.NumberUtils.compare(DD)I:492 - ReplaceConstant - -1 -> -2
* Goal 15. org.apache.commons.lang.NumberUtils.compare(DD)I:negative
*/
@Test
public void test58() throws Throwable {
int int0 = NumberUtils.compare((-1.0), 2532.4);
}
//Test case number: 59
/*
* 21 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.compare(DD)I: I5 Branch 57 IFGE L491 - true
* Goal 2. org.apache.commons.lang.NumberUtils.compare(DD)I: I15 Branch 58 IFLE L494 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.compare(DD)I: I5 Branch 57 IFGE L491 - true in context: org.apache.commons.lang.NumberUtils:compare(DD)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.compare(DD)I: I15 Branch 58 IFLE L494 - false in context: org.apache.commons.lang.NumberUtils:compare(DD)I
* Goal 5. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 491
* Goal 6. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 494
* Goal 7. org.apache.commons.lang.NumberUtils.compare(DD)I: Line 495
* Goal 8. org.apache.commons.lang.NumberUtils.compare(DD)I
* Goal 9. org.apache.commons.lang.NumberUtils.compare(DD)I
* Goal 10. Weak Mutation 264: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - ReplaceVariable lhs -> rhs
* Goal 11. Weak Mutation 265: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - InsertUnaryOp Negation of lhs
* Goal 12. Weak Mutation 266: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - ReplaceVariable rhs -> lhs
* Goal 13. Weak Mutation 267: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - InsertUnaryOp Negation of rhs
* Goal 14. Weak Mutation 269: org.apache.commons.lang.NumberUtils.compare(DD)I:491 - ReplaceComparisonOperator >= -> ==
* Goal 15. Weak Mutation 274: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - ReplaceVariable lhs -> rhs
* Goal 16. Weak Mutation 275: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - InsertUnaryOp Negation of lhs
* Goal 17. Weak Mutation 276: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - ReplaceVariable rhs -> lhs
* Goal 18. Weak Mutation 277: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - InsertUnaryOp Negation of rhs
* Goal 19. Weak Mutation 278: org.apache.commons.lang.NumberUtils.compare(DD)I:494 - ReplaceComparisonOperator <= -> -1
* Goal 20. Weak Mutation 281: org.apache.commons.lang.NumberUtils.compare(DD)I:495 - ReplaceConstant - 1 -> 0
* Goal 21. org.apache.commons.lang.NumberUtils.compare(DD)I:positive
*/
@Test
public void test59() throws Throwable {
int int0 = NumberUtils.compare((double) 3958.4678F, 2075.993812583);
}
//Test case number: 60
/*
* 39 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - false in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 445
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 448
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 449
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 451
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 10. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 11. Weak Mutation 224: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable b -> c
* Goal 12. Weak Mutation 225: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of b
* Goal 13. Weak Mutation 226: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 b
* Goal 14. Weak Mutation 227: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 b
* Goal 15. Weak Mutation 229: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable a -> c
* Goal 16. Weak Mutation 230: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of a
* Goal 17. Weak Mutation 231: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 a
* Goal 18. Weak Mutation 232: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 a
* Goal 19. Weak Mutation 234: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceComparisonOperator <= -> <
* Goal 20. Weak Mutation 241: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> a
* Goal 21. Weak Mutation 242: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> b
* Goal 22. Weak Mutation 243: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of c
* Goal 23. Weak Mutation 244: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 c
* Goal 24. Weak Mutation 245: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 c
* Goal 25. Weak Mutation 247: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable a -> c
* Goal 26. Weak Mutation 248: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of a
* Goal 27. Weak Mutation 249: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 a
* Goal 28. Weak Mutation 250: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 a
* Goal 29. Weak Mutation 251: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceComparisonOperator <= -> -1
* Goal 30. Weak Mutation 254: org.apache.commons.lang.NumberUtils.maximum(III)I:449 - ReplaceVariable c -> a
* Goal 31. Weak Mutation 255: org.apache.commons.lang.NumberUtils.maximum(III)I:449 - ReplaceVariable c -> b
* Goal 32. Weak Mutation 256: org.apache.commons.lang.NumberUtils.maximum(III)I:449 - InsertUnaryOp Negation of c
* Goal 33. Weak Mutation 257: org.apache.commons.lang.NumberUtils.maximum(III)I:449 - InsertUnaryOp IINC 1 c
* Goal 34. Weak Mutation 258: org.apache.commons.lang.NumberUtils.maximum(III)I:449 - InsertUnaryOp IINC -1 c
* Goal 35. Weak Mutation 259: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - ReplaceVariable a -> b
* Goal 36. Weak Mutation 261: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp Negation of a
* Goal 37. Weak Mutation 262: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC 1 a
* Goal 38. Weak Mutation 263: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC -1 a
* Goal 39. org.apache.commons.lang.NumberUtils.maximum(III)I:positive
*/
@Test
public void test60() throws Throwable {
int int0 = NumberUtils.maximum((-1054), (-1054), 1);
}
//Test case number: 61
/*
* 33 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I4 Branch 55 IF_ICMPLE L445 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(III)I: I13 Branch 56 IF_ICMPLE L448 - true in context: org.apache.commons.lang.NumberUtils:maximum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 445
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 448
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(III)I: Line 451
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(III)I
* Goal 10. Weak Mutation 224: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable b -> c
* Goal 11. Weak Mutation 225: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of b
* Goal 12. Weak Mutation 226: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 b
* Goal 13. Weak Mutation 227: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 b
* Goal 14. Weak Mutation 229: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceVariable a -> c
* Goal 15. Weak Mutation 230: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp Negation of a
* Goal 16. Weak Mutation 231: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC 1 a
* Goal 17. Weak Mutation 232: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - InsertUnaryOp IINC -1 a
* Goal 18. Weak Mutation 234: org.apache.commons.lang.NumberUtils.maximum(III)I:445 - ReplaceComparisonOperator <= -> <
* Goal 19. Weak Mutation 241: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> a
* Goal 20. Weak Mutation 242: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable c -> b
* Goal 21. Weak Mutation 243: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of c
* Goal 22. Weak Mutation 244: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 c
* Goal 23. Weak Mutation 245: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 c
* Goal 24. Weak Mutation 247: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceVariable a -> c
* Goal 25. Weak Mutation 248: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp Negation of a
* Goal 26. Weak Mutation 249: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC 1 a
* Goal 27. Weak Mutation 250: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - InsertUnaryOp IINC -1 a
* Goal 28. Weak Mutation 253: org.apache.commons.lang.NumberUtils.maximum(III)I:448 - ReplaceComparisonOperator <= -> ==
* Goal 29. Weak Mutation 260: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - ReplaceVariable a -> c
* Goal 30. Weak Mutation 261: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp Negation of a
* Goal 31. Weak Mutation 262: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC 1 a
* Goal 32. Weak Mutation 263: org.apache.commons.lang.NumberUtils.maximum(III)I:451 - InsertUnaryOp IINC -1 a
* Goal 33. org.apache.commons.lang.NumberUtils.maximum(III)I:negative
*/
@Test
public void test61() throws Throwable {
int int0 = NumberUtils.maximum((-1), (-1), (-989));
}
//Test case number: 62
/*
* 27 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - true
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - true in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - false in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 427
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 430
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 431
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 433
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 10. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 11. Weak Mutation 197: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable b -> c
* Goal 12. Weak Mutation 198: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of b
* Goal 13. Weak Mutation 200: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable a -> c
* Goal 14. Weak Mutation 201: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of a
* Goal 15. Weak Mutation 204: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceComparisonOperator <= -> <
* Goal 16. Weak Mutation 208: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable c -> a
* Goal 17. Weak Mutation 209: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable c -> b
* Goal 18. Weak Mutation 210: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of c
* Goal 19. Weak Mutation 212: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable a -> c
* Goal 20. Weak Mutation 213: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of a
* Goal 21. Weak Mutation 214: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceComparisonOperator <= -> -1
* Goal 22. Weak Mutation 217: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:431 - ReplaceVariable c -> a
* Goal 23. Weak Mutation 218: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:431 - ReplaceVariable c -> b
* Goal 24. Weak Mutation 219: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:431 - InsertUnaryOp Negation of c
* Goal 25. Weak Mutation 220: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - ReplaceVariable a -> b
* Goal 26. Weak Mutation 222: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - InsertUnaryOp Negation of a
* Goal 27. org.apache.commons.lang.NumberUtils.maximum(JJJ)J:positive
*/
@Test
public void test62() throws Throwable {
long long0 = NumberUtils.maximum((-1L), (-1L), 3851L);
}
//Test case number: 63
/*
* 29 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - false
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - false in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - true in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 427
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 428
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 430
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 433
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 10. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 11. Weak Mutation 196: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable b -> a
* Goal 12. Weak Mutation 197: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable b -> c
* Goal 13. Weak Mutation 198: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of b
* Goal 14. Weak Mutation 199: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable a -> b
* Goal 15. Weak Mutation 200: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceVariable a -> c
* Goal 16. Weak Mutation 201: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of a
* Goal 17. Weak Mutation 202: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceComparisonOperator <= -> -1
* Goal 18. Weak Mutation 205: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:428 - ReplaceVariable b -> a
* Goal 19. Weak Mutation 206: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:428 - ReplaceVariable b -> c
* Goal 20. Weak Mutation 207: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:428 - InsertUnaryOp Negation of b
* Goal 21. Weak Mutation 208: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable c -> a
* Goal 22. Weak Mutation 209: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable c -> b
* Goal 23. Weak Mutation 210: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of c
* Goal 24. Weak Mutation 212: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceVariable a -> c
* Goal 25. Weak Mutation 213: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of a
* Goal 26. Weak Mutation 215: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceComparisonOperator <= -> ==
* Goal 27. Weak Mutation 221: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - ReplaceVariable a -> c
* Goal 28. Weak Mutation 222: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - InsertUnaryOp Negation of a
* Goal 29. org.apache.commons.lang.NumberUtils.maximum(JJJ)J:zero
*/
@Test
public void test63() throws Throwable {
long long0 = NumberUtils.maximum((-1L), 0L, (-995L));
}
//Test case number: 64
/*
* 17 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - true
* Goal 2. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I5 Branch 53 IFLE L427 - true in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.maximum(JJJ)J: I15 Branch 54 IFLE L430 - true in context: org.apache.commons.lang.NumberUtils:maximum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 427
* Goal 6. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 430
* Goal 7. org.apache.commons.lang.NumberUtils.maximum(JJJ)J: Line 433
* Goal 8. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 9. org.apache.commons.lang.NumberUtils.maximum(JJJ)J
* Goal 10. Weak Mutation 198: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of b
* Goal 11. Weak Mutation 201: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - InsertUnaryOp Negation of a
* Goal 12. Weak Mutation 204: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:427 - ReplaceComparisonOperator <= -> <
* Goal 13. Weak Mutation 210: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of c
* Goal 14. Weak Mutation 213: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - InsertUnaryOp Negation of a
* Goal 15. Weak Mutation 216: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:430 - ReplaceComparisonOperator <= -> <
* Goal 16. Weak Mutation 222: org.apache.commons.lang.NumberUtils.maximum(JJJ)J:433 - InsertUnaryOp Negation of a
* Goal 17. org.apache.commons.lang.NumberUtils.maximum(JJJ)J:negative
*/
@Test
public void test64() throws Throwable {
long long0 = NumberUtils.maximum((-1815L), (-1815L), (-1815L));
}
//Test case number: 65
/*
* 47 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - false
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - false in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - false in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 409
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 410
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 412
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 413
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 415
* Goal 10. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 11. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 12. Weak Mutation 155: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable b -> a
* Goal 13. Weak Mutation 156: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable b -> c
* Goal 14. Weak Mutation 157: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of b
* Goal 15. Weak Mutation 158: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 b
* Goal 16. Weak Mutation 159: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 b
* Goal 17. Weak Mutation 160: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable a -> b
* Goal 18. Weak Mutation 161: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable a -> c
* Goal 19. Weak Mutation 162: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of a
* Goal 20. Weak Mutation 163: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 a
* Goal 21. Weak Mutation 164: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 a
* Goal 22. Weak Mutation 165: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceComparisonOperator >= -> -1
* Goal 23. Weak Mutation 168: org.apache.commons.lang.NumberUtils.minimum(III)I:410 - ReplaceVariable b -> a
* Goal 24. Weak Mutation 169: org.apache.commons.lang.NumberUtils.minimum(III)I:410 - ReplaceVariable b -> c
* Goal 25. Weak Mutation 170: org.apache.commons.lang.NumberUtils.minimum(III)I:410 - InsertUnaryOp Negation of b
* Goal 26. Weak Mutation 171: org.apache.commons.lang.NumberUtils.minimum(III)I:410 - InsertUnaryOp IINC 1 b
* Goal 27. Weak Mutation 172: org.apache.commons.lang.NumberUtils.minimum(III)I:410 - InsertUnaryOp IINC -1 b
* Goal 28. Weak Mutation 173: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable c -> a
* Goal 29. Weak Mutation 174: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable c -> b
* Goal 30. Weak Mutation 175: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of c
* Goal 31. Weak Mutation 176: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 c
* Goal 32. Weak Mutation 177: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 c
* Goal 33. Weak Mutation 179: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable a -> c
* Goal 34. Weak Mutation 180: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of a
* Goal 35. Weak Mutation 181: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 a
* Goal 36. Weak Mutation 182: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 a
* Goal 37. Weak Mutation 183: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceComparisonOperator >= -> -1
* Goal 38. Weak Mutation 186: org.apache.commons.lang.NumberUtils.minimum(III)I:413 - ReplaceVariable c -> a
* Goal 39. Weak Mutation 187: org.apache.commons.lang.NumberUtils.minimum(III)I:413 - ReplaceVariable c -> b
* Goal 40. Weak Mutation 188: org.apache.commons.lang.NumberUtils.minimum(III)I:413 - InsertUnaryOp Negation of c
* Goal 41. Weak Mutation 189: org.apache.commons.lang.NumberUtils.minimum(III)I:413 - InsertUnaryOp IINC 1 c
* Goal 42. Weak Mutation 190: org.apache.commons.lang.NumberUtils.minimum(III)I:413 - InsertUnaryOp IINC -1 c
* Goal 43. Weak Mutation 191: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - ReplaceVariable a -> b
* Goal 44. Weak Mutation 193: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp Negation of a
* Goal 45. Weak Mutation 194: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC 1 a
* Goal 46. Weak Mutation 195: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC -1 a
* Goal 47. org.apache.commons.lang.NumberUtils.minimum(III)I:negative
*/
@Test
public void test65() throws Throwable {
int int0 = NumberUtils.minimum(101, (-1), (-845));
}
//Test case number: 66
/*
* 37 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - true
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I4 Branch 51 IF_ICMPGE L409 - true in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(III)I: I13 Branch 52 IF_ICMPGE L412 - true in context: org.apache.commons.lang.NumberUtils:minimum(III)I
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 409
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 412
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(III)I: Line 415
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(III)I
* Goal 10. Weak Mutation 155: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable b -> a
* Goal 11. Weak Mutation 156: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable b -> c
* Goal 12. Weak Mutation 157: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of b
* Goal 13. Weak Mutation 158: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 b
* Goal 14. Weak Mutation 159: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 b
* Goal 15. Weak Mutation 160: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable a -> b
* Goal 16. Weak Mutation 161: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceVariable a -> c
* Goal 17. Weak Mutation 162: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp Negation of a
* Goal 18. Weak Mutation 163: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC 1 a
* Goal 19. Weak Mutation 164: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - InsertUnaryOp IINC -1 a
* Goal 20. Weak Mutation 167: org.apache.commons.lang.NumberUtils.minimum(III)I:409 - ReplaceComparisonOperator >= -> ==
* Goal 21. Weak Mutation 173: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable c -> a
* Goal 22. Weak Mutation 174: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable c -> b
* Goal 23. Weak Mutation 175: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of c
* Goal 24. Weak Mutation 176: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 c
* Goal 25. Weak Mutation 177: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 c
* Goal 26. Weak Mutation 178: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable a -> b
* Goal 27. Weak Mutation 179: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceVariable a -> c
* Goal 28. Weak Mutation 180: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp Negation of a
* Goal 29. Weak Mutation 181: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC 1 a
* Goal 30. Weak Mutation 182: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - InsertUnaryOp IINC -1 a
* Goal 31. Weak Mutation 185: org.apache.commons.lang.NumberUtils.minimum(III)I:412 - ReplaceComparisonOperator >= -> ==
* Goal 32. Weak Mutation 191: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - ReplaceVariable a -> b
* Goal 33. Weak Mutation 192: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - ReplaceVariable a -> c
* Goal 34. Weak Mutation 193: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp Negation of a
* Goal 35. Weak Mutation 194: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC 1 a
* Goal 36. Weak Mutation 195: org.apache.commons.lang.NumberUtils.minimum(III)I:415 - InsertUnaryOp IINC -1 a
* Goal 37. org.apache.commons.lang.NumberUtils.minimum(III)I:negative
*/
@Test
public void test66() throws Throwable {
int int0 = NumberUtils.minimum((-989), 1684, 4057);
}
//Test case number: 67
/*
* 33 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - false
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - false
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - false in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - false in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 391
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 392
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 394
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 395
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 397
* Goal 10. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 11. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 12. Weak Mutation 128: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable b -> a
* Goal 13. Weak Mutation 129: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable b -> c
* Goal 14. Weak Mutation 130: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of b
* Goal 15. Weak Mutation 131: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> b
* Goal 16. Weak Mutation 132: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> c
* Goal 17. Weak Mutation 133: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of a
* Goal 18. Weak Mutation 134: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceComparisonOperator >= -> -1
* Goal 19. Weak Mutation 137: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:392 - ReplaceVariable b -> a
* Goal 20. Weak Mutation 138: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:392 - ReplaceVariable b -> c
* Goal 21. Weak Mutation 139: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:392 - InsertUnaryOp Negation of b
* Goal 22. Weak Mutation 140: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable c -> a
* Goal 23. Weak Mutation 141: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable c -> b
* Goal 24. Weak Mutation 142: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of c
* Goal 25. Weak Mutation 144: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable a -> c
* Goal 26. Weak Mutation 145: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of a
* Goal 27. Weak Mutation 146: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceComparisonOperator >= -> -1
* Goal 28. Weak Mutation 149: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:395 - ReplaceVariable c -> a
* Goal 29. Weak Mutation 150: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:395 - ReplaceVariable c -> b
* Goal 30. Weak Mutation 151: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:395 - InsertUnaryOp Negation of c
* Goal 31. Weak Mutation 152: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - ReplaceVariable a -> b
* Goal 32. Weak Mutation 154: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - InsertUnaryOp Negation of a
* Goal 33. org.apache.commons.lang.NumberUtils.minimum(JJJ)J:negative
*/
@Test
public void test67() throws Throwable {
long long0 = NumberUtils.minimum((long) 524, 0L, (long) (-989));
}
//Test case number: 68
/*
* 23 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - true
* Goal 2. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true
* Goal 3. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I5 Branch 49 IFGE L391 - true in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 4. Branch org.apache.commons.lang.NumberUtils.minimum(JJJ)J: I15 Branch 50 IFGE L394 - true in context: org.apache.commons.lang.NumberUtils:minimum(JJJ)J
* Goal 5. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 391
* Goal 6. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 394
* Goal 7. org.apache.commons.lang.NumberUtils.minimum(JJJ)J: Line 397
* Goal 8. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 9. org.apache.commons.lang.NumberUtils.minimum(JJJ)J
* Goal 10. Weak Mutation 129: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable b -> c
* Goal 11. Weak Mutation 130: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of b
* Goal 12. Weak Mutation 132: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceVariable a -> c
* Goal 13. Weak Mutation 133: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - InsertUnaryOp Negation of a
* Goal 14. Weak Mutation 136: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:391 - ReplaceComparisonOperator >= -> >
* Goal 15. Weak Mutation 140: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable c -> a
* Goal 16. Weak Mutation 141: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable c -> b
* Goal 17. Weak Mutation 142: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of c
* Goal 18. Weak Mutation 144: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceVariable a -> c
* Goal 19. Weak Mutation 145: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - InsertUnaryOp Negation of a
* Goal 20. Weak Mutation 147: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:394 - ReplaceComparisonOperator >= -> ==
* Goal 21. Weak Mutation 153: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - ReplaceVariable a -> c
* Goal 22. Weak Mutation 154: org.apache.commons.lang.NumberUtils.minimum(JJJ)J:397 - InsertUnaryOp Negation of a
* Goal 23. org.apache.commons.lang.NumberUtils.minimum(JJJ)J:negative
*/
@Test
public void test68() throws Throwable {
long long0 = NumberUtils.minimum((long) (-1), (long) (-1), 726L);
}
//Test case number: 69
/*
* 133 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch
* Goal 3. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - false
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - true
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I348 Branch 33 IF_ICMPLE L242 - false
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I354 Branch 34 IF_ICMPGE L242 - false
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I374 Branch 35 IFNONNULL L247 - false
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I376 Branch 36 IFNONNULL L247 - true
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I404 Branch 37 IFEQ L263 - true
* Goal 17. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 18. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 19. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 20. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 21. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 22. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 23. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I348 Branch 33 IF_ICMPLE L242 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I354 Branch 34 IF_ICMPGE L242 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I374 Branch 35 IFNONNULL L247 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I376 Branch 36 IFNONNULL L247 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I404 Branch 37 IFEQ L263 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 34. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 35. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 36. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 37. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 376
* Goal 38. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: Line 329
* Goal 39. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: Line 318
* Goal 40. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 41. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 42. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 43. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 44. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 45. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 46. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 47. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 175
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 242
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 243
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 247
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 263
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 265
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 269
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 273
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 277
* Goal 60. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 281
* Goal 61. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 62. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 63. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 64. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 65. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 66. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 67. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 68. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 69. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 70. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 71. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 72. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 73. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 74. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 75. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 76. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 77. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 78. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 79. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 80. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 81. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 82. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 83. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 84. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 85. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 86. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 87. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 88. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 89. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 90. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 91. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 92. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 93. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 94. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 95. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 96. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 97. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 98. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 99. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 100. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 101. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 102. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 103. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 104. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 105. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 106. Weak Mutation 53: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceVariable decPos -> expPos
* Goal 107. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 108. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 109. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 110. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 111. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 112. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 113. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
* Goal 114. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 115. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 116. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 117. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 118. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 119. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 120. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 121. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 122. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 123. Weak Mutation 109: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> !=
* Goal 124. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 125. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 126. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 127. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 128. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 129. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 130. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 131. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 132. Weak Mutation 121: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> <=
* Goal 133. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
*/
@Test
public void test69() throws Throwable {
try {
NumberUtils.createNumber("!#v ET[oB4#82");
} catch(NumberFormatException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("java.math.BigDecimal", e);
}
}
//Test case number: 70
/*
* 160 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - true
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I219 Branch 22 IFNONNULL L193 - false
* Goal 19. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I221 Branch 23 IFNONNULL L193 - false
* Goal 20. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I226 Branch 24 IF_ICMPNE L193 - true
* Goal 21. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I235 Branch 26 IFEQ L193 - true
* Goal 22. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 23. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 24. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 25. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I3 Branch 65 IFNULL L593 - false
* Goal 26. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I6 Branch 66 IFNE L593 - true
* Goal 27. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I19 Branch 67 IF_ICMPGE L596 - false
* Goal 28. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: I26 Branch 68 IFNE L597 - false
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 34. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 35. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 36. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 37. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 38. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 39. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 40. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 41. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 42. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 43. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 44. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 45. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 46. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I226 Branch 24 IF_ICMPNE L193 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 47. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I221 Branch 23 IFNONNULL L193 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 48. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I235 Branch 26 IFEQ L193 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 49. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I219 Branch 22 IFNONNULL L193 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 50. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 51. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 52. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 53. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 60. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 61. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 62. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 63. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 177
* Goal 64. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 65. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 66. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 182
* Goal 67. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 185
* Goal 68. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 188
* Goal 69. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 189
* Goal 70. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 190
* Goal 71. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 193
* Goal 72. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 204
* Goal 73. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 74. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 75. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 76. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 77. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 593
* Goal 78. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 596
* Goal 79. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 597
* Goal 80. org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z: Line 598
* Goal 81. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 82. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 83. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 84. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 85. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 86. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 87. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 88. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 89. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 90. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 91. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 92. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 93. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 94. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 95. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 96. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 97. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 98. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 99. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 100. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 101. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 102. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 103. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 104. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 105. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 106. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 107. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 108. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 109. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 110. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 111. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 112. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 113. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 114. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 115. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 116. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 117. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 118. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 119. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 120. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 121. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 122. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 123. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 124. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 125. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 126. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 127. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 128. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
* Goal 129. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 130. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 131. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 132. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 133. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 134. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 135. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 136. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 137. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 138. Weak Mutation 109: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> !=
* Goal 139. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 140. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 141. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 142. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 143. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 144. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 145. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 146. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 147. Weak Mutation 120: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> >=
* Goal 148. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
* Goal 149. Weak Mutation 354: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator = null -> != null
* Goal 150. Weak Mutation 356: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:593 - ReplaceComparisonOperator != -> <
* Goal 151. Weak Mutation 359: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - ReplaceConstant - 0 -> 1
* Goal 152. Weak Mutation 360: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp Negation of i
* Goal 153. Weak Mutation 361: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp IINC 1 i
* Goal 154. Weak Mutation 362: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - InsertUnaryOp IINC -1 i
* Goal 155. Weak Mutation 363: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:596 - ReplaceComparisonOperator >= -> -1
* Goal 156. Weak Mutation 366: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp Negation of i
* Goal 157. Weak Mutation 367: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp IINC 1 i
* Goal 158. Weak Mutation 368: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - InsertUnaryOp IINC -1 i
* Goal 159. Weak Mutation 369: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:597 - ReplaceComparisonOperator != -> ==
* Goal 160. Weak Mutation 370: org.apache.commons.lang.NumberUtils.isDigits(Ljava/lang/String;)Z:598 - ReplaceConstant - 0 -> 1
*/
@Test
public void test70() throws Throwable {
try {
NumberUtils.createNumber("!y{c'r9zmVO6+VnKFL");
} catch(NumberFormatException e) {
//
// !y{c'r9zmVO6+VnKFL is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 71
/*
* 139 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - true
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false
* Goal 19. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false
* Goal 20. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 21. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 22. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 23. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 34. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 35. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 36. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 37. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 38. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 39. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 40. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 41. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 42. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 43. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 44. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 376
* Goal 45. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: Line 329
* Goal 46. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 47. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 177
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 182
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 185
* Goal 60. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 188
* Goal 61. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 189
* Goal 62. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 190
* Goal 63. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 222
* Goal 64. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 226
* Goal 65. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 230
* Goal 66. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 231
* Goal 67. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 236
* Goal 68. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 69. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 70. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 71. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 72. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 73. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 74. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 75. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 76. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 77. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 78. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 79. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 80. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 81. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 82. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 83. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 84. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 85. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 86. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 87. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 88. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 89. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 90. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 91. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 92. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 93. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 94. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 95. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 96. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 97. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 98. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 99. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 100. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 101. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 102. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 103. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 104. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 105. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 106. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 107. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 108. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 109. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 110. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 111. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 112. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 113. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 114. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 115. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 116. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 117. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 118. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 119. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
* Goal 120. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 121. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 122. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 123. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 124. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 125. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 126. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 127. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 128. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 129. Weak Mutation 109: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> !=
* Goal 130. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 131. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 132. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 133. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 134. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 135. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 136. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 137. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 138. Weak Mutation 120: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> >=
* Goal 139. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
*/
@Test
public void test71() throws Throwable {
try {
NumberUtils.createNumber("T?A0v+}d");
} catch(NumberFormatException e) {
//
// T?A0v+}d is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 72
/*
* 121 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - false
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I169 Branch 12 IF_ICMPGE L182 - true
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - true
* Goal 19. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 20. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - true
* Goal 21. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I37 Branch 48 IFLE L305 - true
* Goal 22. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 23. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I169 Branch 12 IF_ICMPGE L182 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 34. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 35. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 36. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 37. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 38. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 39. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 40. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 41. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - true in context:
* Goal 42. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I37 Branch 48 IFLE L305 - true in context:
* Goal 43. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 44. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 45. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 46. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 47. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 175
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 182
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 185
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 188
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 189
* Goal 60. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 190
* Goal 61. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 236
* Goal 62. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 63. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 64. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 305
* Goal 65. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 66. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 67. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 68. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 69. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 70. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 71. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 72. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 73. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 74. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 75. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 76. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 77. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 78. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 79. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 80. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 81. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 82. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 83. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 84. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 85. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 86. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 87. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 88. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 89. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 90. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 91. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 92. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 93. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 94. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 95. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 96. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 97. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 98. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 99. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 100. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 101. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 102. Weak Mutation 53: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceVariable decPos -> expPos
* Goal 103. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 104. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 105. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 106. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 107. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 108. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 109. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
* Goal 110. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 111. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 112. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 113. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 114. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 115. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 116. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 117. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 118. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 119. Weak Mutation 108: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> -2
* Goal 120. Weak Mutation 125: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:305 - ReplaceComparisonOperator <= -> <
* Goal 121. Weak Mutation 127: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:305 - ReplaceConstant - 0 -> 1
*/
@Test
public void test72() throws Throwable {
try {
NumberUtils.createNumber("E");
} catch(NumberFormatException e) {
//
// E is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 73
/*
* 95 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - false
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I84 Branch 7 IF_ICMPLE L164 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I89 Branch 8 IF_ICMPGE L165 - false
* Goal 9. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 10. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 11. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 12. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 13. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 14. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 15. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I84 Branch 7 IF_ICMPLE L164 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 16. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I89 Branch 8 IF_ICMPGE L165 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 17. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 19. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 20. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 21. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 22. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 23. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 24. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 25. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 26. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 164
* Goal 27. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 165
* Goal 28. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 166
* Goal 29. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 31. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 32. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 33. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 34. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 35. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 36. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 37. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 38. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 39. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 40. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 41. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 42. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 43. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 44. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 45. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 46. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 47. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 48. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 49. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 50. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 51. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 52. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 53. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 54. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 55. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 56. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 57. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 58. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 59. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 60. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 61. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 62. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 63. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 64. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 65. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 66. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 67. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 68. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 69. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 70. Weak Mutation 53: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceVariable decPos -> expPos
* Goal 71. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 72. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 73. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 74. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 75. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 76. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 77. Weak Mutation 60: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> -1
* Goal 78. Weak Mutation 63: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceVariable expPos -> decPos
* Goal 79. Weak Mutation 64: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp Negation of expPos
* Goal 80. Weak Mutation 65: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp IINC 1 expPos
* Goal 81. Weak Mutation 66: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp IINC -1 expPos
* Goal 82. Weak Mutation 67: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> 0
* Goal 83. Weak Mutation 68: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> 1
* Goal 84. Weak Mutation 69: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> -2
* Goal 85. Weak Mutation 70: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceComparisonOperator <= -> -1
* Goal 86. Weak Mutation 73: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - ReplaceVariable expPos -> decPos
* Goal 87. Weak Mutation 74: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp Negation of expPos
* Goal 88. Weak Mutation 75: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC 1 expPos
* Goal 89. Weak Mutation 76: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC -1 expPos
* Goal 90. Weak Mutation 77: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - ReplaceVariable decPos -> expPos
* Goal 91. Weak Mutation 78: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp Negation of decPos
* Goal 92. Weak Mutation 79: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC 1 decPos
* Goal 93. Weak Mutation 80: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC -1 decPos
* Goal 94. Weak Mutation 81: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - ReplaceComparisonOperator >= -> -1
* Goal 95. Weak Mutation 84: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:166 - ReplaceConstant - is not a valid number. ->
*/
@Test
public void test73() throws Throwable {
try {
NumberUtils.createNumber("\"\" is not a valid number.");
} catch(NumberFormatException e) {
//
// \"\" is not a valid number. is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 74
/*
* 170 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - false
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I84 Branch 7 IF_ICMPLE L164 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I89 Branch 8 IF_ICMPGE L165 - true
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - false
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I169 Branch 12 IF_ICMPGE L182 - false
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - true
* Goal 19. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false
* Goal 20. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I219 Branch 22 IFNONNULL L193 - true
* Goal 21. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 22. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 23. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I84 Branch 7 IF_ICMPLE L164 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I89 Branch 8 IF_ICMPGE L165 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 34. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I169 Branch 12 IF_ICMPGE L182 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 35. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 36. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 37. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 38. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 39. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 40. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 41. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 42. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 43. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I219 Branch 22 IFNONNULL L193 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 44. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 45. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 46. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 47. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 164
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 165
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 168
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 172
* Goal 60. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 61. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 182
* Goal 62. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 183
* Goal 63. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 188
* Goal 64. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 189
* Goal 65. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 190
* Goal 66. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 193
* Goal 67. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 204
* Goal 68. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 69. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 70. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 71. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 72. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 73. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 74. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 75. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 76. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 77. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 78. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 79. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 80. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 81. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 82. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 83. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 84. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 85. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 86. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 87. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 88. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 89. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 90. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 91. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 92. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 93. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 94. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 95. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 96. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 97. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 98. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 99. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 100. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 101. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 102. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 103. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 104. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 105. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 106. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 107. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 108. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 109. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 110. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 111. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 112. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 113. Weak Mutation 53: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceVariable decPos -> expPos
* Goal 114. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 115. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 116. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 117. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 118. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 119. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 120. Weak Mutation 60: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> -1
* Goal 121. Weak Mutation 63: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceVariable expPos -> decPos
* Goal 122. Weak Mutation 64: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp Negation of expPos
* Goal 123. Weak Mutation 65: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp IINC 1 expPos
* Goal 124. Weak Mutation 66: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp IINC -1 expPos
* Goal 125. Weak Mutation 67: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> 0
* Goal 126. Weak Mutation 68: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> 1
* Goal 127. Weak Mutation 69: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> -2
* Goal 128. Weak Mutation 70: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceComparisonOperator <= -> -1
* Goal 129. Weak Mutation 73: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - ReplaceVariable expPos -> decPos
* Goal 130. Weak Mutation 74: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp Negation of expPos
* Goal 131. Weak Mutation 75: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC 1 expPos
* Goal 132. Weak Mutation 76: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC -1 expPos
* Goal 133. Weak Mutation 77: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - ReplaceVariable decPos -> expPos
* Goal 134. Weak Mutation 78: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp Negation of decPos
* Goal 135. Weak Mutation 79: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC 1 decPos
* Goal 136. Weak Mutation 80: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - InsertUnaryOp IINC -1 decPos
* Goal 137. Weak Mutation 83: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:165 - ReplaceComparisonOperator >= -> ==
* Goal 138. Weak Mutation 85: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - ReplaceVariable decPos -> expPos
* Goal 139. Weak Mutation 86: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - InsertUnaryOp Negation of decPos
* Goal 140. Weak Mutation 87: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - InsertUnaryOp IINC 1 decPos
* Goal 141. Weak Mutation 88: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - InsertUnaryOp IINC -1 decPos
* Goal 142. Weak Mutation 89: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - ReplaceConstant - 1 -> 0
* Goal 143. Weak Mutation 90: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - ReplaceArithmeticOperator + -> %
* Goal 144. Weak Mutation 91: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - ReplaceArithmeticOperator + -> -
* Goal 145. Weak Mutation 92: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - ReplaceArithmeticOperator + -> *
* Goal 146. Weak Mutation 93: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - ReplaceArithmeticOperator + -> /
* Goal 147. Weak Mutation 94: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - ReplaceVariable expPos -> decPos
* Goal 148. Weak Mutation 95: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - InsertUnaryOp Negation of expPos
* Goal 149. Weak Mutation 96: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - InsertUnaryOp IINC 1 expPos
* Goal 150. Weak Mutation 97: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:168 - InsertUnaryOp IINC -1 expPos
* Goal 151. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 152. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 153. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 154. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 155. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 156. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 157. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 158. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 159. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 160. Weak Mutation 109: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> !=
* Goal 161. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 162. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 163. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 164. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 165. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 166. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 167. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 168. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 169. Weak Mutation 120: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> >=
* Goal 170. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
*/
@Test
public void test74() throws Throwable {
try {
NumberUtils.createNumber("org.apache.commons.lang.StriKgUtil");
} catch(NumberFormatException e) {
//
// org.apache.commons.lang.StriKgUtil is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 75
/*
* 137 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch
* Goal 3. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - false
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I84 Branch 7 IF_ICMPLE L164 - true
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - true
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I348 Branch 33 IF_ICMPLE L242 - true
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I374 Branch 35 IFNONNULL L247 - true
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I404 Branch 37 IFEQ L263 - true
* Goal 15. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 16. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 17. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 18. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 19. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 20. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 21. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 22. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 23. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I84 Branch 7 IF_ICMPLE L164 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I348 Branch 33 IF_ICMPLE L242 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I374 Branch 35 IFNONNULL L247 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I404 Branch 37 IFEQ L263 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 30. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 31. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 32. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 33. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 376
* Goal 34. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: Line 329
* Goal 35. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: Line 318
* Goal 36. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 37. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 38. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 39. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 40. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 41. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 42. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 43. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 44. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 164
* Goal 45. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 170
* Goal 46. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 172
* Goal 47. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 242
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 245
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 247
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 263
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 265
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 269
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 273
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 277
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 281
* Goal 57. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 58. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 59. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 60. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 61. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 62. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 63. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 64. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 65. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 66. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 67. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 68. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 69. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 70. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 71. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 72. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 73. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 74. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 75. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 76. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 77. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 78. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 79. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 80. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 81. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 82. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 83. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 84. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 85. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 86. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 87. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 88. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 89. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 90. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 91. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 92. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 93. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 94. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 95. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 96. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 97. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 98. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 99. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 100. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 101. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 102. Weak Mutation 53: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceVariable decPos -> expPos
* Goal 103. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 104. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 105. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 106. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 107. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 108. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 109. Weak Mutation 60: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> -1
* Goal 110. Weak Mutation 63: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceVariable expPos -> decPos
* Goal 111. Weak Mutation 64: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp Negation of expPos
* Goal 112. Weak Mutation 65: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp IINC 1 expPos
* Goal 113. Weak Mutation 66: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - InsertUnaryOp IINC -1 expPos
* Goal 114. Weak Mutation 67: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> 0
* Goal 115. Weak Mutation 68: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> 1
* Goal 116. Weak Mutation 69: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceConstant - -1 -> -2
* Goal 117. Weak Mutation 71: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:164 - ReplaceComparisonOperator <= -> <
* Goal 118. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 119. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 120. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 121. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 122. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 123. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 124. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 125. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 126. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 127. Weak Mutation 109: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> !=
* Goal 128. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 129. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 130. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 131. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 132. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 133. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 134. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 135. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 136. Weak Mutation 120: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> >=
* Goal 137. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
*/
@Test
public void test75() throws Throwable {
try {
NumberUtils.createNumber("Rq.(8");
} catch(NumberFormatException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("java.math.BigDecimal", e);
}
}
//Test case number: 76
/*
* 25 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - true
* Goal 6. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 7. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 8. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 9. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 10. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 11. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: Line 342
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 153
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 18. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 19. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 20. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 21. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 22. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 23. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 24. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 25. Weak Mutation 16: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> -2
*/
@Test
public void test76() throws Throwable {
try {
NumberUtils.createNumber("0xMaa1aj:N@qvOH8L#Uc");
} catch(NumberFormatException e) {
//
// For input string: \"Maa1aj:N@qvOH8L#Uc\"
//
assertThrownBy("java.lang.NumberFormatException", e);
}
}
//Test case number: 77
/*
* 18 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - false
* Goal 4. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 5. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 6. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 150
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 13. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 14. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 15. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 16. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 17. Weak Mutation 11: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> -1
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:null
*/
@Test
public void test77() throws Throwable {
Number number0 = NumberUtils.createNumber("--");
}
//Test case number: 78
/*
* 8 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - false
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 140
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 7. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:null
*/
@Test
public void test78() throws Throwable {
Number number0 = NumberUtils.createNumber((String) null);
}
//Test case number: 79
/*
* 97 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: root-Branch
* Goal 3. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: root-Branch
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - true
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I348 Branch 33 IF_ICMPLE L242 - true
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I374 Branch 35 IFNONNULL L247 - false
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I376 Branch 36 IFNONNULL L247 - false
* Goal 15. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 16. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 17. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 18. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 19. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 20. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 21. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 22. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 23. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I348 Branch 33 IF_ICMPLE L242 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I376 Branch 36 IFNONNULL L247 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I374 Branch 35 IFNONNULL L247 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 27. org.apache.commons.lang.NumberUtils.createBigInteger(Ljava/lang/String;)Ljava/math/BigInteger;: Line 364
* Goal 28. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: Line 342
* Goal 29. org.apache.commons.lang.NumberUtils.createLong(Ljava/lang/String;)Ljava/lang/Long;: Line 353
* Goal 30. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 31. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 32. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 33. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 34. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 35. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 36. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 37. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 38. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 39. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 177
* Goal 40. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 41. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 42. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 242
* Goal 43. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 245
* Goal 44. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 247
* Goal 45. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 250
* Goal 46. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 251
* Goal 47. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 255
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 256
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 259
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 51. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 52. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 53. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 54. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 55. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 56. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 57. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 58. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 59. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 60. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 61. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 62. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 63. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 64. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 65. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 66. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 67. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 68. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 69. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 70. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 71. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 72. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 73. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 74. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 75. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 76. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 77. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 78. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 79. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 80. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 81. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 82. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 83. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 84. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 85. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 86. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 87. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 88. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 89. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 90. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 91. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 92. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 93. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 94. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 95. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 96. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 97. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
*/
@Test
public void test79() throws Throwable {
try {
NumberUtils.createNumber("bR-P8");
} catch(NumberFormatException e) {
//
// Illegal embedded sign character
//
assertThrownBy("java.math.BigInteger", e);
}
}
//Test case number: 80
/*
* 31 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 3. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - false
* Goal 7. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 8. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 9. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 10. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 11. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 12. org.apache.commons.lang.NumberUtils.createInteger(Ljava/lang/String;)Ljava/lang/Integer;: Line 342
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 153
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 19. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 20. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 21. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 22. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 23. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 24. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 25. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 26. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 27. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 28. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 29. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 30. Weak Mutation 21: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> -1
* Goal 31. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:nonnull
*/
@Test
public void test80() throws Throwable {
Integer integer0 = (Integer)NumberUtils.createNumber("-0xE");
}
//Test case number: 81
/*
* 14 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;)I: root-Branch
* Goal 3. Branch org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;)I: root-Branch in context: org.apache.commons.lang.NumberUtils:stringToInt(Ljava/lang/String;)I
* Goal 4. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;)I: Line 61
* Goal 5. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 74
* Goal 6. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 75
* Goal 7. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I: Line 76
* Goal 8. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;)I
* Goal 9. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;)I
* Goal 10. Weak Mutation 0: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;)I:61 - ReplaceConstant - 0 -> 1
* Goal 11. Weak Mutation 1: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp Negation of defaultValue
* Goal 12. Weak Mutation 2: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp IINC 1 defaultValue
* Goal 13. Weak Mutation 3: org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;I)I:76 - InsertUnaryOp IINC -1 defaultValue
* Goal 14. org.apache.commons.lang.NumberUtils.stringToInt(Ljava/lang/String;)I:zero
*/
@Test
public void test81() throws Throwable {
int int0 = NumberUtils.stringToInt("0x");
}
//Test case number: 82
/*
* 143 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch
* Goal 2. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: root-Branch
* Goal 3. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: root-Branch
* Goal 4. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true
* Goal 5. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true
* Goal 6. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true
* Goal 7. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false
* Goal 8. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true
* Goal 9. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true
* Goal 10. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true
* Goal 11. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false
* Goal 12. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true
* Goal 13. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true
* Goal 14. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false
* Goal 15. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - true
* Goal 16. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false
* Goal 17. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false
* Goal 18. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false
* Goal 19. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false
* Goal 20. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false
* Goal 21. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true
* Goal 22. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false
* Goal 23. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false
* Goal 24. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I3 Branch 1 IFNONNULL L139 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 25. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I12 Branch 2 IFNE L142 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 26. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I26 Branch 3 IFLE L145 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 27. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I42 Branch 5 IFLE L152 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 28. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I37 Branch 4 IFGT L152 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 29. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I79 Branch 6 IF_ICMPLE L162 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 30. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I136 Branch 9 IF_ICMPLE L174 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 31. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I158 Branch 10 IFNE L181 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 32. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I163 Branch 11 IF_ICMPLE L182 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 33. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I202 Branch 13 IFEQ L189 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 34. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 15 LOOKUPSWITCH L190 Case 68 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 35. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 21 LOOKUPSWITCH L190 Default-Case - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 36. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 16 LOOKUPSWITCH L190 Case 70 - true in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 37. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 20 LOOKUPSWITCH L190 Case 108 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 38. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 17 LOOKUPSWITCH L190 Case 76 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 39. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 19 LOOKUPSWITCH L190 Case 102 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 40. Branch org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: I215 Branch 18 LOOKUPSWITCH L190 Case 100 - false in context: org.apache.commons.lang.NumberUtils:createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 41. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I3 Branch 45 IFNONNULL L297 - true in context:
* Goal 42. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I17 Branch 46 IFLT L300 - false in context:
* Goal 43. Branch org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: I24 Branch 47 IF_ICMPEQ L301 - false in context:
* Goal 44. createNumber(Ljava/lang/String;)Ljava/lang/Number;_java.lang.NumberFormatException_DECLARED
* Goal 45. org.apache.commons.lang.NumberUtils.createBigDecimal(Ljava/lang/String;)Ljava/math/BigDecimal;: Line 376
* Goal 46. org.apache.commons.lang.NumberUtils.createDouble(Ljava/lang/String;)Ljava/lang/Double;: Line 329
* Goal 47. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: Line 318
* Goal 48. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 139
* Goal 49. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 142
* Goal 50. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 145
* Goal 51. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 152
* Goal 52. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 155
* Goal 53. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 159
* Goal 54. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 160
* Goal 55. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 162
* Goal 56. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 174
* Goal 57. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 177
* Goal 58. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 179
* Goal 59. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 181
* Goal 60. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 182
* Goal 61. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 185
* Goal 62. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 188
* Goal 63. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 189
* Goal 64. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 190
* Goal 65. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 208
* Goal 66. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 215
* Goal 67. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 222
* Goal 68. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 226
* Goal 69. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 230
* Goal 70. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 231
* Goal 71. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;: Line 236
* Goal 72. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 297
* Goal 73. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 300
* Goal 74. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 301
* Goal 75. org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z: Line 302
* Goal 76. org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;
* Goal 77. Weak Mutation 4: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:139 - ReplaceComparisonOperator != null -> = null
* Goal 78. Weak Mutation 6: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:142 - ReplaceComparisonOperator != -> <
* Goal 79. Weak Mutation 9: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - -- ->
* Goal 80. Weak Mutation 10: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceConstant - 0 -> 1
* Goal 81. Weak Mutation 12: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:145 - ReplaceComparisonOperator <= -> ==
* Goal 82. Weak Mutation 14: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0x ->
* Goal 83. Weak Mutation 15: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 84. Weak Mutation 17: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator > -> !=
* Goal 85. Weak Mutation 19: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - -0x ->
* Goal 86. Weak Mutation 20: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceConstant - 0 -> 1
* Goal 87. Weak Mutation 22: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:152 - ReplaceComparisonOperator <= -> ==
* Goal 88. Weak Mutation 24: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceConstant - 1 -> 0
* Goal 89. Weak Mutation 25: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> +
* Goal 90. Weak Mutation 26: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> %
* Goal 91. Weak Mutation 27: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> *
* Goal 92. Weak Mutation 28: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:155 - ReplaceArithmeticOperator - -> /
* Goal 93. Weak Mutation 29: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 0
* Goal 94. Weak Mutation 30: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 1
* Goal 95. Weak Mutation 31: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> -1
* Goal 96. Weak Mutation 32: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 45
* Goal 97. Weak Mutation 33: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:159 - ReplaceConstant - 46 -> 47
* Goal 98. Weak Mutation 34: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 0
* Goal 99. Weak Mutation 35: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 1
* Goal 100. Weak Mutation 36: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> -1
* Goal 101. Weak Mutation 37: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 100
* Goal 102. Weak Mutation 38: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 101 -> 102
* Goal 103. Weak Mutation 39: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 0
* Goal 104. Weak Mutation 40: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 1
* Goal 105. Weak Mutation 41: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> -1
* Goal 106. Weak Mutation 42: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 68
* Goal 107. Weak Mutation 43: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 69 -> 70
* Goal 108. Weak Mutation 44: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 109. Weak Mutation 45: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 110. Weak Mutation 46: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 111. Weak Mutation 47: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 112. Weak Mutation 48: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceConstant - 1 -> 0
* Goal 113. Weak Mutation 49: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> %
* Goal 114. Weak Mutation 50: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> -
* Goal 115. Weak Mutation 51: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> *
* Goal 116. Weak Mutation 52: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:160 - ReplaceArithmeticOperator + -> /
* Goal 117. Weak Mutation 54: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp Negation of decPos
* Goal 118. Weak Mutation 55: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC 1 decPos
* Goal 119. Weak Mutation 56: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - InsertUnaryOp IINC -1 decPos
* Goal 120. Weak Mutation 57: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 0
* Goal 121. Weak Mutation 58: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> 1
* Goal 122. Weak Mutation 59: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceConstant - -1 -> -2
* Goal 123. Weak Mutation 61: org.apache.commons.lang.NumberUtils.createNumber(Ljava/lang/String;)Ljava/lang/Number;:162 - ReplaceComparisonOperator <= -> <
* Goal 124. Weak Mutation 98: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:297 - ReplaceComparisonOperator != null -> = null
* Goal 125. Weak Mutation 100: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceConstant - 1 -> 0
* Goal 126. Weak Mutation 101: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> +
* Goal 127. Weak Mutation 102: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> %
* Goal 128. Weak Mutation 103: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> *
* Goal 129. Weak Mutation 104: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceArithmeticOperator - -> /
* Goal 130. Weak Mutation 105: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp Negation of i
* Goal 131. Weak Mutation 106: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC 1 i
* Goal 132. Weak Mutation 107: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - InsertUnaryOp IINC -1 i
* Goal 133. Weak Mutation 109: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:300 - ReplaceComparisonOperator < -> !=
* Goal 134. Weak Mutation 111: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp Negation of i
* Goal 135. Weak Mutation 112: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC 1 i
* Goal 136. Weak Mutation 113: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - InsertUnaryOp IINC -1 i
* Goal 137. Weak Mutation 114: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 0
* Goal 138. Weak Mutation 115: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 1
* Goal 139. Weak Mutation 116: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> -1
* Goal 140. Weak Mutation 117: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 47
* Goal 141. Weak Mutation 118: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceConstant - 48 -> 49
* Goal 142. Weak Mutation 120: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:301 - ReplaceComparisonOperator == -> >=
* Goal 143. Weak Mutation 122: org.apache.commons.lang.NumberUtils.isAllZeros(Ljava/lang/String;)Z:302 - ReplaceConstant - 0 -> 1
*/
@Test
public void test82() throws Throwable {
try {
NumberUtils.createNumber("9BPoXCU=,]c*N~ P7F");
} catch(NumberFormatException e) {
//
// 9BPoXCU=,]c*N~ P7F is not a valid number.
//
assertThrownBy("org.apache.commons.lang.NumberUtils", e);
}
}
//Test case number: 83
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: root-Branch in context: org.apache.commons.lang.NumberUtils:createFloat(Ljava/lang/String;)Ljava/lang/Float;
* Goal 3. createFloat(Ljava/lang/String;)Ljava/lang/Float;_java.lang.NullPointerException_IMPLICIT
* Goal 4. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;: Line 318
* Goal 5. org.apache.commons.lang.NumberUtils.createFloat(Ljava/lang/String;)Ljava/lang/Float;
*/
@Test
public void test83() throws Throwable {
// Undeclared exception!
try {
NumberUtils.createFloat((String) null);
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
//
assertThrownBy("sun.misc.FloatingDecimal", e);
}
}
//Test case number: 84
/*
* 5 covered goals:
* Goal 1. org.apache.commons.lang.NumberUtils.<init>()V: root-Branch
* Goal 2. Branch org.apache.commons.lang.NumberUtils.<init>()V: root-Branch in context: org.apache.commons.lang.NumberUtils:<init>()V
* Goal 3. org.apache.commons.lang.NumberUtils.<init>()V: Line 48
* Goal 4. org.apache.commons.lang.NumberUtils.<init>()V
* Goal 5. org.apache.commons.lang.NumberUtils.<init>()V
*/
@Test
public void test84() throws Throwable {
NumberUtils numberUtils0 = new NumberUtils();
}
}
| [
"he_ye_90s@hotmail.com"
] | he_ye_90s@hotmail.com |
a7181616a2bd9c588d2b8be8a5c68adc44b6d2d8 | 63de77e4645ecc9c4d2a429d727e8f81b02b69c1 | /app/module/core/models/DBCSmsQ.java | 6082310fcfc7246f08eb8b0c756ff88d255abe94 | [] | no_license | d-sauer/Sensor | 86d402117d833a60af21d924cf8959ed3765d7a6 | 8a5f374bc23dd3c135cae6c1d8fb370db0d0543f | refs/heads/master | 2020-05-18T10:07:06.445784 | 2014-01-25T23:25:54 | 2014-01-25T23:27:12 | 17,785,531 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,485 | java | package module.core.models;
import java.sql.Timestamp;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import play.db.ebean.Model;
@Entity
@Table(name = "c_sms_q")
public class DBCSmsQ extends Model {
public static enum DBCSmsQAction {
prepare, send, sending, sent, received, not_sent;
}
@Id
public long id;
@ManyToOne(cascade = CascadeType.DETACH)
@Column(name = "user_id", nullable = true)
public DBCUser user;
@Column(name = "date_created")
public Timestamp dateCreated;
@Column(name = "date_send")
public Timestamp dateSend;
@Column(name = "date_confirm")
public Timestamp dateConfirm;
@Enumerated(EnumType.STRING)
@Column(name = "action", nullable = true)
public DBCSmsQAction action;
@Column(length = 20, nullable = false, name = "mobile_number")
public String mobileNumber;
@Column(length = 600, nullable = false, name = "content")
public String content;
public static Finder<Long, DBCSmsQ> find = new Finder<Long, DBCSmsQ>(Long.class, DBCSmsQ.class);
public static List<DBCSmsQ> findByAction(DBCSmsQAction action) {
List<DBCSmsQ> lst = find.where().eq("action", action).findList();
return lst;
}
}
| [
"davor.sauer@gmail.com"
] | davor.sauer@gmail.com |
e4b640ac84c7005b1dc66dbe8a6127c93437196b | 07269e7dd564f79b2b93f388a62cc0ef38f3b3da | /src/br/will/graviola/ui/tela/PesquisaPontoForm.java | 5a9b2605df950c1431e852cf24b4c3d1fe2260d5 | [] | no_license | wpiasecki/Graviola | 7a7c033a6ead62f22088167a7f9431426bb27bab | c06f42f926eb92f50474fd3a838ea7bfcb754927 | refs/heads/master | 2020-03-29T15:06:44.182100 | 2016-12-25T01:54:23 | 2016-12-25T01:54:23 | 5,059,679 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,406 | java | package br.will.graviola.ui.tela;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.TextField;
import br.will.graviola.model.DisplayableAlert;
/**
* Apresenta o formulário de pesquisa por pontos
*
* @author will
*
*/
public class PesquisaPontoForm extends Tela
{
public PesquisaPontoForm(Tela parent)
{
super(parent);
// TODO Auto-generated constructor stub
}
public Tela dispatch(Command command)
{
if (command == Comando.voltar)
{
return getParent();
}
else if (command == Comando.pesquisar) // pesquisar por linhas na lista de onibus
{
Form form = (Form) getCurrent().getDisplayable();
String pesquisadoPeloUsuario = ( (TextField) form.get(0) ).getString();
return new ResultadoPesquisaPontoForm(this, pesquisadoPeloUsuario);
}
throw new IllegalArgumentException(
"Tela PesquisaForm não sabe como lidar com o comando " + command + " ("+command.getLabel()+")");
}
public DisplayableAlert getDisplayableAlert()
{
TextField text = new TextField("Pesquisar por linhas cujos pontos possuam:", "", 100, TextField.ANY);
Form form = new Form("Pesquisar linha");
form.addCommand(Comando.voltar);
form.addCommand(Comando.pesquisar);
form.append(text);
setCurrent(new DisplayableAlert(form));
return getCurrent();
}
public boolean mustWait()
{
return false;
}
}
| [
"alporygone@yahoo.com.br"
] | alporygone@yahoo.com.br |
a16b2879899c30b748dee5985222b03b74cf65dc | 3745971755b88b88bbdc064fd3f9da3850fe65cc | /src/main/java/com/digital/ServiceApplication.java | 791b08f7f1f9cf2f258668a986e7a720d167e8d3 | [] | no_license | cyc3552637/springboot-mutilsource | 9331de9284622457766a01644230b23f85e3792f | 4cf7e6715221f43c58f68ae466f764f25d6f7695 | refs/heads/master | 2020-05-16T04:04:30.260683 | 2019-05-21T08:51:02 | 2019-05-21T08:51:02 | 182,758,515 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,099 | java | package com.digital;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import com.digital.util.datasource.DynamicDataSourceConfig;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
@Import({DynamicDataSourceConfig.class})
@EnableMongoRepositories("com.digital.dao.mongo")
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@EnableFeignClients
@EnableHystrixDashboard
@EnableHystrix
public class ServiceApplication {
public static void main(String[] args) {
SpringApplication.run(ServiceApplication.class, args);
}
} | [
"395816504@qq.com"
] | 395816504@qq.com |
f8a96cc967d6f896a501f5a5af2bdcfa699f9369 | 130f0718ed53bc7d7ad8e7ef8a78d8157d28cdfb | /src/main/java/com/github/s8u/itemutil/ItemUtil.java | d33a5136e4723330c6e584dc3ffc319dacabafb0 | [] | no_license | S8U/ItemUtil | d6cbf22c3ed8cda6c647bbd324fa7ca215f1b6ba | f2bb953024e9cd6dd6f504975125150872c120c5 | refs/heads/master | 2023-06-07T15:21:59.280235 | 2021-06-29T14:50:35 | 2021-06-29T14:50:35 | 381,401,026 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,637 | java | package com.github.s8u.itemutil;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.inventory.meta.SkullMeta;
public class ItemUtil {
public static Material getMaterial(int typeId) {
for (Material material : Material.values()) {
if (material.getId() == typeId) return material;
}
return null;
}
public static ItemStack getItemStack(int typeId) {
for (Material material : Material.values()) {
if (material.getId() == typeId) return new ItemStack(material);
}
return null;
}
public static ItemStack getItemStack(String itemCode) {
if (!itemCode.contains(":")) {
return getItemStack(Integer.parseInt(itemCode));
}
String[] split = itemCode.split(":");
int typeId = Integer.parseInt(split[0]);
short durability = Short.parseShort(split[1]);
ItemStack item = getItemStack(typeId);
item.setDurability(durability);
return item;
}
public static String getItemCode(ItemStack item) {
if (item.getDurability() == 0) {
return String.valueOf(item.getType().getId());
} else {
return item.getType().getId() + ":" + item.getDurability();
}
}
public static ItemStack getSkull(String playerName) {
ItemStack item = new ItemBuilder(397).durability((short) 3).build();
ItemMeta meta = item.getItemMeta();
((SkullMeta) meta).setOwner(playerName);
item.setItemMeta(meta);
return item;
}
}
| [
"0uh1004@gmail.com"
] | 0uh1004@gmail.com |
22f81ac2769f95dc07afbc8d2dfd77f6585f4ade | dbbd75ae1574cfa73cbb1d1d9675c74b4e9ba998 | /core/src/androidTest/java/id/ngobrel/core/MessageExamplePayload.java | 7405ffbaa761cdcbeed70d9ce62334a4232ff000 | [
"MIT"
] | permissive | ngobrel/ngobrel-android-core | e6dd7d0dd9fd03507a12384d33d1eb724b274780 | d6f5705c1c3f526946d117e97c226c3b1cc2760c | refs/heads/master | 2020-03-23T18:53:21.012939 | 2018-08-12T10:39:16 | 2018-08-12T10:39:16 | 141,938,603 | 1 | 1 | null | null | null | null | UTF-8 | Java | false | false | 4,693 | java | package id.ngobrel.core;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.security.InvalidKeyException;
import id.ngobrel.core.HashId;
import id.ngobrel.core.IllegalDataSizeException;
/**
* This is an example of message payload sent back and forth in the protocol
*/
public class MessageExamplePayload {
//
// This is unique id
HashId messageId;
/*
Type is:
0 plain message
1 media message
2 sender key message
3 handshake message
*/
int type;
/*
All fields below are not filled except in the following cases:
# plain message
target: only applicable when quoting, refer to messageId of the quoted message
contents: the message
# media message
target: only applicable when quoting, refer to messageId of the quoted message
contents: encryption key
url: public URL where the media can be downloaded
contentType: the content type of the media
fileName: the file name of the media
# sender key message:
contents: the sender key
*/
HashId target;
byte[] contents; // the actual payload
String url;
String contentType;
String fileName;
// Plain Message
public MessageExamplePayload(HashId target, byte[] contents) {
this.target = target;
this.contents = contents;
this.type = 0;
}
// Media Message
public MessageExamplePayload(HashId target, String url, String contentType, String fileName, byte[] encryptionKey) {
this.target = target;
this.type = 1;
this.url = url;
this.contentType = contentType;
this.fileName = fileName;
this.contents = encryptionKey;
}
// Sender Key Message
public MessageExamplePayload(byte[] senderKey) {
this.type = 2;
this.contents = senderKey;
}
// Handshake Message
public MessageExamplePayload() {
this.type = 3;
}
byte[] encode() throws IOException {
ByteArrayOutputStream output = new ByteArrayOutputStream();
ByteBuffer buffer = ByteBuffer.allocate(4);
buffer.putInt(type);
output.write(buffer.array());
buffer = ByteBuffer.allocate(4);
buffer.putInt(contents.length);
output.write(buffer.array());
output.write(contents);
buffer = ByteBuffer.allocate(4);
if (target == null) {
buffer.putInt(0);
output.write(buffer.array());
} else {
buffer.putInt(target.raw().length);
output.write(buffer.array());
output.write(target.raw());
}
if (type == 1) { // media message
buffer = ByteBuffer.allocate(4);
buffer.putInt(url.getBytes().length);
output.write(buffer.array());
output.write(url.getBytes());
buffer = ByteBuffer.allocate(4);
buffer.putInt(contentType.getBytes().length);
output.write(buffer.array());
output.write(contentType.getBytes());
buffer = ByteBuffer.allocate(4);
buffer.putInt(fileName.getBytes().length);
output.write(buffer.array());
output.write(fileName.getBytes());
}
return output.toByteArray();
}
private static byte[] getData(ByteArrayInputStream input) throws IllegalDataSizeException, IOException {
byte[] b = new byte[4];
input.read(b);
ByteBuffer buffer = ByteBuffer.wrap(b);
int size = buffer.getInt();
if (size <= 0) {
throw new IllegalDataSizeException();
}
byte[] data = new byte[size];
input.read(data);
return data;
}
private static HashId getHashId(ByteArrayInputStream input) throws InvalidKeyException, IOException {
try {
byte[] hashId = getData(input);
return new HashId(hashId);
} catch (IllegalDataSizeException x) {
return null;
}
}
private static String getString(ByteArrayInputStream input) throws IllegalDataSizeException, IOException {
return new String(getData(input));
}
public static final MessageExamplePayload decode(byte[] msg) throws IllegalDataSizeException, IOException, InvalidKeyException {
ByteArrayInputStream input = new ByteArrayInputStream(msg);
byte[] b = new byte[4];
input.read(b);
ByteBuffer buffer = ByteBuffer.wrap(b);
int type = buffer.getInt();
byte[] contents = getData(input);
if (type == 2) { // sender key message
return new MessageExamplePayload(contents);
}
HashId target = getHashId(input);
if (type == 0) { // plain message
return new MessageExamplePayload(target, contents);
}
String url = getString(input);
String contentType = getString(input);
String fileName = getString(input);
return new MessageExamplePayload(target, url, contentType, fileName, contents);
}
}
| [
"mdamt@mdamt.net"
] | mdamt@mdamt.net |
4460c0ed3c3fbd216d49417a2e0f0ab4b8c25d64 | b4e72bad73978e7fc452f3357d14fbf2f0b98d2e | /Homework-2-Client_To_Server/src/Client.java | b43c12e7e55de2f3e528e3051b5a7dff9d423a29 | [] | no_license | Aingty/CECS-327-Intro-to-Networking-and-Distributed-Computing | e7e43f7e638fa9a980d8906a9ac3cf047222a551 | 15977d6e5db203fbb627d12e8ea16286bc858dc9 | refs/heads/master | 2020-03-27T14:39:37.159445 | 2018-11-14T02:02:39 | 2018-11-14T02:02:39 | 146,674,098 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,571 | java | import java.net.*;
import java.util.Scanner;
import java.io.*;
public class Client
{
public static void main(String args[])
{
// args give message contents and server hostname
DatagramSocket aSocket = null;
byte[] buffer;
// Scanner for user's input
Scanner input = new Scanner(System.in);
// Booleans used to test different functionality through out the code
boolean keepGoing = true; // Check to keep the whole program running
boolean ipProvided = false; // Check if valid ip already provided
boolean portProvided = false; // Check if port ip was correct
// Strings used in the program
String hostIP=""; // Will become the user's inputted host ip address
String serverPort=""; // Declaring Server port
String userMessage="";
String serverReply;
System.out.println("\nWelcome to the UDP Client Program!!");
while (keepGoing)
{
if (!ipProvided)
{
ipProvided = true;
System.out.print("\tPlease provide Host IP Address: ");
hostIP = input.nextLine();
// Validing user's IP address
if (!hostIP.equalsIgnoreCase("localhost"))
{
int ipCount = 1;
int decimalCount = 0;
for (int i = 0; i < hostIP.length(); i++)
{
if (hostIP.charAt(i) == '.' && ipCount != 1 && decimalCount < 3)
{
ipCount = 1;
decimalCount++;
}
else if (Character.isDigit(hostIP.charAt(i)) && ipCount < 4)
{
ipCount++;
}
else
{
System.out.println("\nYou have entered an Invalid IP Address!!!!\n");
ipProvided = false;
break;
}
}
}
else
{
hostIP = hostIP.toLowerCase();
}
}
if (!portProvided && ipProvided)
{
System.out.print("\tPlease provide Host Port Number: ");
serverPort = input.nextLine();
// Checking to see if port number is parsable into integer
try
{
Integer.parseInt(serverPort);
portProvided = true;
}
catch (NumberFormatException e)
{
portProvided = false;
System.out.println("\nYou have entered an Invalid Port Number!!!!\n");
}
}
// Program keeps going without establishing connection due to invalid ip or port
if (!ipProvided || !portProvided)
{
continue;
}
try
{
System.out.print("\n");
System.out.print("\tEnter a message to Host (or quit): ");
userMessage = input.nextLine();
aSocket = new DatagramSocket();
byte [] m = userMessage.getBytes();
if (userMessage.equalsIgnoreCase("quit"))
{
keepGoing = false;
}
InetAddress aHost = InetAddress.getByName(hostIP);
DatagramPacket request = new DatagramPacket(m, m.length, aHost, Integer.parseInt(serverPort));
aSocket.send(request);
buffer = new byte[1000];
DatagramPacket reply = new DatagramPacket(buffer, buffer.length);
aSocket.receive(reply);
buffer = reply.getData();
serverReply = new String(buffer, 0, reply.getLength());
System.out.println("\t\tEcho from Server: " + serverReply);
}
catch (SocketException e)
{
System.out.println("Socket: " + e.getMessage());
}
catch (IOException e)
{
System.out.println("IO: " + e.getMessage());
}
finally
{
if(aSocket != null)
{
aSocket.close();
}
}
}
}
} | [
"aingtyeung@yahoo.com"
] | aingtyeung@yahoo.com |
0ade44dd4555f3dd4a396c657fa0d90a80ba52d4 | 2ca46374b84f0635e4bf95d6eb09d2875eb4a395 | /src/java/facade/EntityUtility.java | 39514f7d0ae80fb4cbb434c337662e61b6df6df5 | [] | no_license | donfa1975/JP2 | 5e7dbdadee71b686b240a8453dcba0af593de000 | 5e3ae22ca179b89c62644eb0857ae685422045a5 | refs/heads/master | 2020-04-29T20:17:51.441863 | 2019-06-03T20:34:28 | 2019-06-03T20:34:28 | 176,380,262 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 832 | java | package facade;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.util.logging.Level;
import java.util.logging.Logger;
public class EntityUtility {
public static Object getFieldValue(Object bean, String fieldName) {
try {
BeanInfo info = Introspector.getBeanInfo(bean.getClass());
for (PropertyDescriptor pd : info.getPropertyDescriptors()) {
if (pd.getName().equals(fieldName)) {
return pd.getReadMethod().invoke(bean);
}
}
} catch (IntrospectionException | IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) {
Logger.getLogger(EntityUtility.class.getName()).log(Level.SEVERE, null, ex);
}
return null;
}
}
| [
"fabricio.diaz@TESE-FDIAZ.termo.ini"
] | fabricio.diaz@TESE-FDIAZ.termo.ini |
bdb78aaa0758d18c03bac8542fd79262e4162066 | 2d7589d8a4c9bd5f178ffa05db3015c8b96d4992 | /src/main/java/pl/coderslab/service/BookService.java | 66e8493aba26ad47e812d3e218ebd1f5d974b4b3 | [] | no_license | mbiedzki/simple-books | 098c015c9bb237c29d106c6eeb3b9572ac9d6b80 | 2bea74ae1a57db4b60a8a1dd5839548603f7513f | refs/heads/master | 2022-12-26T00:00:40.151247 | 2019-06-05T11:22:45 | 2019-06-05T11:22:45 | 171,254,058 | 0 | 0 | null | 2022-12-16T11:33:33 | 2019-02-18T09:29:52 | Java | UTF-8 | Java | false | false | 2,078 | java | package pl.coderslab.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import pl.coderslab.dao.BookDao;
import pl.coderslab.model.Author;
import pl.coderslab.model.Book;
import pl.coderslab.repository.BookRepository;
import pl.coderslab.repository.CategoryRepository;
import pl.coderslab.repository.PublisherRepository;
import java.util.List;
@Service
@Transactional
public class BookService {
/*@Autowired
private BookDao bookDao;*/
@Autowired
private BookRepository bookRepository;
@Autowired
private CategoryRepository categoryRepository;
@Autowired
private PublisherRepository publisherRepository;
public void saveBookService(Book entity) {
bookRepository.save(entity);
}
public Book findByIdService(Long id) {
return bookRepository.findOne(id);
}
public void editBookService(Book book) {
bookRepository.save(book);
}
public void deleteBookService(Long id) {
bookRepository.delete(id);
}
public void setRating(Double rating) {
bookRepository.setRating(rating);
}
public Long countBooks() {
return bookRepository.countBooks();
}
public List<Book> readAllBookService() {
return bookRepository.findAll();
//testujemy metody z BookRepository
//return bookRepository.findFirstByCategoryOrderByTitle(categoryRepository.findOne(1L));
//własne query zdefiniowane w BookRepository
//return bookRepository.findBookByCategoryIdByQuery(categoryRepository.findOne(1L));
//testujemy rating range
//return bookRepository.findBookByRatingRange();
//testujemy by publisher
//return bookRepository.findBookByPublisherByQuery(publisherRepository.findOne(1L));
//testujemy by category sorted by title first
//return bookRepository.findFirstBookByCategorySorted(1L);
}
}
| [
"mbiedzki@me.com"
] | mbiedzki@me.com |
7438d3b059f641af496ad2db3f54e23e7379a922 | 0276d00d14257b53222eb4004fb683ef36a51812 | /app/src/main/java/com/mozre/find/module/account/RegisterView.java | a4b762fdccfebe0c386ab6e1a54f427b366ff273 | [] | no_license | mozre/Finder | b387936ffb800d51a81112eb71a7d8abf4a0bfb3 | 762f008636bd84656ccbde8626be34265e88aa02 | refs/heads/master | 2021-01-20T08:19:14.146158 | 2017-05-03T09:14:45 | 2017-05-03T09:14:45 | 90,129,333 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 261 | java | package com.mozre.find.module.account;
import com.mozre.find.app.BaseView;
/**
* Created by MOZRE on 2016/6/17.
*/
public interface RegisterView extends BaseView {
void changeViewMode(Boolean check);
void toLoginView(Boolean result);
}
| [
"cdxy_zhanjing@163.com"
] | cdxy_zhanjing@163.com |
3d202838b18547280ab886ef37b8220556c2750e | 55613b975125b42049c289bdfb019b0507593a5d | /src/br/com/cadastromedico/testes/TConnectionFactory.java | 05a1e72f8c62d29018c64f45e34dd35b9921323e | [] | no_license | GustavoAngeloDS/cm-oo | c6efe6e5a3068dda8f4dd0caacd1d66bd1438bb9 | e6dc16352376e43be798c75101d4cdf14a79ebed | refs/heads/master | 2022-12-28T00:33:54.824936 | 2020-10-09T02:07:04 | 2020-10-09T02:07:04 | 302,203,336 | 0 | 0 | null | 2020-10-09T01:59:58 | 2020-10-08T01:33:29 | Java | UTF-8 | Java | false | false | 344 | java | package br.com.cadastromedico.testes;
import java.sql.Connection;
import java.sql.SQLException;
import br.com.cadastromedico.conn.ConnectionFactory;
public class TConnectionFactory {
public static void main(String[] args) throws SQLException {
Connection conn = new ConnectionFactory().getConnection();
conn.close();
}
}
| [
"gustavosilvaangelo@gmail.com"
] | gustavosilvaangelo@gmail.com |
0cc6ad7f35dc04c773b368b5be6ccaf33af90235 | 775c85b59e6503ce58bac41a9fb15f2af410164e | /libgdx/src/main/java/com/badlogic/gdx/backends/iosbugvm/IOSDevice.java | 09b22f245324aab2c02b70b8e4078aa18791fda2 | [
"Apache-2.0"
] | permissive | ocadaruma/bugvm | 805c47c1298b5f87eb16726dd23712075ae3f004 | cb89c5b7fb2da992e8b2667456eab5054078d30e | refs/heads/master | 2020-12-26T00:06:12.548895 | 2016-04-19T05:55:05 | 2016-04-19T05:55:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,260 | java | package com.badlogic.gdx.backends.iosbugvm;
public enum IOSDevice {
IPHONE_2G("iPhone1,1", 163),
IPHONE_3G("iPhone1,2", 163),
IPHONE_3GS("iPhone2,1", 163),
IPHONE_4("iPhone3,1", 326),
IPHONE_4V("iPhone3,2", 326),
IPHONE_4_CDMA("iPhone3,3", 326),
IPHONE_4S("iPhone4,1", 326),
IPHONE_5("iPhone5,1", 326),
IPHONE_5_CDMA_GSM("iPhone5,2", 326),
IPHONE_5C("iPhone5,3", 326),
IPHONE_5C_CDMA_GSM("iPhone5,4", 326),
IPHONE_5S("iPhone6,1", 326),
IPHONE_5S_CDMA_GSM("iPhone6,2", 326),
IPHONE_6_PLUS("iPhone7,1", 401),
IPHONE_6("iPhone7,2", 326),
IPHONE_6S("iPhone8,1", 326),
IPHONE_6S_PLUS("iPhone8,2", 401),
IPOD_TOUCH_1G("iPod1,1", 163),
IPOD_TOUCH_2G("iPod2,1", 163),
IPOD_TOUCH_3G("iPod3,1", 163),
IPOD_TOUCH_4G("iPod4,1", 326),
IPOD_TOUCH_5G("iPod5,1", 326),
IPOD_TOUCH_6G("iPod7,1", 326),
IPAD("iPad1,1", 132),
IPAD_3G("iPad1,2", 132),
IPAD_2_WIFI("iPad2,1", 132),
IPAD_2("iPad2,2", 132),
IPAD_2_CDMA("iPad2,3", 132),
IPAD_2V("iPad2,4", 132),
IPAD_MINI_WIFI("iPad2,5", 164),
IPAD_MINI("iPad2,6", 164),
IPAD_MINI_WIFI_CDMA("iPad2,7", 164),
IPAD_3_WIFI("iPad3,1", 264),
IPAD_3_WIFI_CDMA("iPad3,2", 264),
IPAD_3("iPad3,3", 264),
IPAD_4_WIFI("iPad3,4", 264),
IPAD_4("iPad3,5", 264),
IPAD_4_GSM_CDMA("iPad3,6", 264),
IPAD_AIR_WIFI("iPad4,1", 264),
IPAD_AIR_WIFI_GSM("iPad4,2", 264),
IPAD_AIR_WIFI_CDMA("iPad4,3", 264),
IPAD_MINI_RETINA_WIFI("iPad4,4", 326),
IPAD_MINI_RETINA_WIFI_CDMA("iPad4,5", 326),
IPAD_MINI_RETINA_WIFI_CELLULAR_CN("iPad4,6", 326),
IPAD_MINI_3_WIFI("iPad4,7", 326),
IPAD_MINI_3_WIFI_CELLULAR("iPad4,8", 326),
IPAD_MINI_3_WIFI_CELLULAR_CN("iPad4,9", 326),
IPAD_MINI_4_WIFI("iPad5,1", 326),
IPAD_MINI_4_WIFI_CELLULAR("iPad5,2", 326),
IPAD_MINI_AIR_2_WIFI("iPad5,3", 264),
IPAD_MINI_AIR_2_WIFI_CELLULAR("iPad5,4", 264),
IPAD_PRO_WIFI("iPad6,7", 264),
IPAD_PRO("iPad6,8", 264),
SIMULATOR_32("i386", 264),
SIMULATOR_64("x86_64", 264);
final String machineString;
final int ppi;
IOSDevice(String machineString, int ppi) {
this.machineString = machineString;
this.ppi = ppi;
}
public static IOSDevice getDevice (String machineString) {
for (IOSDevice device : values()) {
if (device.machineString.equalsIgnoreCase(machineString)) return device;
}
return null;
}
}
| [
"github@ibinti.com"
] | github@ibinti.com |
ee367ab454dafd98f313bfd10abf4e0acea1e680 | dcacc7f38d18db7b5e20f985b6bec807d61ff269 | /src/main/java/pl/coderslab/repository/TeamRepository.java | 413bf38b315ff49cc036899d75220347db862add | [] | no_license | staslaw/SchoolOnlineRegister-FINAL-PROJECT | 6e4ce5ad97321167a7d28676429aac460e6b722b | c39fcaf12cef356f6ce1efb1365edff64aa20296 | refs/heads/master | 2020-03-28T20:50:09.265827 | 2018-09-29T21:47:17 | 2018-09-29T21:47:17 | 149,106,923 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 520 | java | package pl.coderslab.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import pl.coderslab.entity.Team;
import java.util.List;
public interface TeamRepository extends JpaRepository<Team, Long> {
@Query("select g from Team g left join fetch g.students where g.id = ?1")
Team findOneWithStudentsQuery(Long id);
@Query("select distinct g from Team g left join fetch g.students")
List<Team> findAllWithStudentListQuery();
}
| [
"sniemyski@o2.pl"
] | sniemyski@o2.pl |
76eba805f3278158575e323c99d0174282947c7a | 62ba58dc68ed8b764ade469cfb45ce62ca5db8a7 | /ThreeConsecutiveOdds.java | b6f31b7e95c86c00601d410a420c3140f630e608 | [] | no_license | SkyLoveAngle/LeetCodeTest | 77c108527914f785c7e6d321ae1231a05b95c90b | 4870bb93d6976cf002b506cd65f4d453b932db11 | refs/heads/main | 2023-06-02T12:24:24.696717 | 2021-06-26T01:28:39 | 2021-06-26T01:28:39 | 323,542,297 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,252 | java | package leetcode.editor.cn;
//给你一个整数数组 arr,请你判断数组中是否存在连续三个元素都是奇数的情况:如果存在,请返回 true ;否则,返回 false 。
// 示例 1:
// 输入:arr = [2,6,4,1]
//输出:false
//解释:不存在连续三个元素都是奇数的情况。
//
// 示例 2:
// 输入:arr = [1,2,34,3,4,5,7,23,12]
//输出:true
//解释:存在连续三个元素都是奇数的情况,即 [5,7,23] 。
//
// 提示:
// 1 <= arr.length <= 1000
// 1 <= arr[i] <= 1000
// Related Topics 数组
// 👍 7 👎 0
public class ThreeConsecutiveOdds{
public static void main(String[] args) {
Solution solution = new ThreeConsecutiveOdds().new Solution();
}
//leetcode submit region begin(Prohibit modification and deletion)
class Solution {
public boolean threeConsecutiveOdds(int[] arr) {
// 遍历数组, 找到所有可能存在的序列, 并判断就可以了.
for (int i = 0; i < arr.length - 2; i++) {
if (arr[i] % 2 != 0 && arr[i + 1] % 2 != 0 && arr[i + 2] % 2 != 0) {
return true;
}
}
return false;
}
}
//leetcode submit region end(Prohibit modification and deletion)
} | [
"1920909528@qq.com"
] | 1920909528@qq.com |
2005ae61570690b58e3641e67764683ff5f36d26 | 2283158558ff133e5de011674f5a071a63da389b | /src/test/java/com/example/RemovedCallBugTest.java | 21d3d99d72ed4e0f13f5f5707701809e148d85b4 | [] | no_license | hcoles/pitest-issue-starter | 41298ab584222828828f3009523004290f193cae | 5275da8a65308fd5f4271c0a18cd4b2556e9752b | refs/heads/master | 2020-11-26T09:43:22.421254 | 2017-09-20T19:59:09 | 2017-09-20T19:59:09 | 35,813,224 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 303 | java | package com.example;
import org.junit.Test;
//import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.*;
public class RemovedCallBugTest {
@Test
public void test() throws InterruptedException {
assertTrue(new RemovedCallBug().doSomething());
}
}
| [
"hc185053@ncr.com"
] | hc185053@ncr.com |
8548b3fd976429f3f469995d1369f0d0a4111fd0 | 00a14ad4181fdcbce43a24a465a7cea0afe4bdae | /src/utility/UtilityServerSocket.java | 4b348262b9a388952a6f2e8aca95a3173214e015 | [] | no_license | Tino-FRC-2473/StateArchitecture | 94708bd49c2afe004d6a699ed3f359a12891194b | 5bd1ecd19c8a4ec3f5c852023badebc58430d977 | refs/heads/master | 2020-03-28T13:50:25.401965 | 2018-09-12T06:42:41 | 2018-09-12T06:42:41 | 148,433,886 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 2,255 | java | package utility;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
/**
* A convenience extension of the ServerSocket class that has built in methods
* for sending and receiving lines through the connection.
* @author JosephM
*/
public class UtilityServerSocket extends ServerSocket {
private BufferedReader reader;
private PrintStream stream;
private Socket socket;
private boolean connected;
/**
* tbd
* @param port The port the connection is occurring on.
* @throws IOException If an I/O error occurs when creating the serversocket.
*/
public UtilityServerSocket(int port) throws IOException {
super(port);
connected = false;
}
/**
* tbd
* @throws IOException If an I/O error occurs when creating the serversocket.
*/
public void connect() throws IOException {
if(!connected) {
System.out.println("WAITING FOR CLIENT CONNECTION");
socket = super.accept();
System.out.println("CONNECTED");
reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
stream = new PrintStream(socket.getOutputStream());
connected = true;
}
}
/**
* Sends a string to the server end of the connection. This string automatically
* has a newline character appended to it.
* @param s the string to send
* @throws IOException If an I/O error occurs when creating the serversocket.
*/
public void sendLine(String s) throws IOException {
if(!connected) connect();
stream.print(s + "\n");
}
/**
* Obtains the string the server end of the connection sent, or null if nothing
* was sent. If the server end has sent multiple strings since the last time
* this method was called, they will be buffered and the oldest unread string
* will be returned.
* @return the string obtained
* @throws IOException If an I/O error occurs when creating the serversocket.
*/
public String getLine() throws IOException {
if(!connected) connect();
try {
if(reader.ready()) {
return reader.readLine();
}
} catch (IOException e) {
System.out.println(e.getStackTrace());
}
return null;
}
public Socket getSocket() {
return socket;
}
}
| [
"deep.chemhelperdev@gmail.com"
] | deep.chemhelperdev@gmail.com |
4b9d354f18efb54150de9ed7e74538590043b51d | 975177234474aa8d46846253b5f65e3756252b9b | /src/parser/NumberParser.java | b922101a0c269dff8f5706fdfd6ba48fb16c94d0 | [] | no_license | estebandres/MeLiAcademy_01_ExcLogs | 875e0509341745b0ea63ffc569179420b7d8fac5 | 4421aa8eb99b9574b22bf115533646aa02b1710f | refs/heads/master | 2022-05-14T10:29:24.018410 | 2016-02-11T16:33:52 | 2016-02-11T16:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,572 | java | package parser;
import java.util.ArrayList;
import java.util.Arrays;
public class NumberParser {
static private int CHAR_MAX=100;
//static private String MAX_DEC_PART="123432";
//static private String MAX_INT_PART=;
static public double getDoubleFromString(String cadena) throws Exception{
double parsedDouble = 0.0;
String integerPart="";
String decimalPart="";
String part ="";
if(cadena.isEmpty())
throw new Exception("cadena vacia");
if(cadena.length()>CHAR_MAX){
throw new Exception("cadena demasiado grande");
}
String [] array = cadena.split("\\.");
//ArrayList<String> numberParts= new ArrayList<>(Arrays.asList(cadena.split("\\.")));
if(array.length==0)
throw new Exception("vino sin punto");//vino sin puntos
if(array[0].isEmpty())
array = Arrays.copyOfRange(array, 1, array.length);
for(int i=0;i<array.length;i++){
part=array[i].replaceAll("[^0-9]", "");
if(!part.isEmpty()){
if(integerPart.isEmpty()){
integerPart=part;
}
else{
decimalPart = decimalPart+part;//concateno las cifras decimales
}
}
}
if(integerPart.isEmpty())
throw new Exception("parte entera vacia");
if(decimalPart.isEmpty())
throw new Exception("parte decimal vacia");
//if(decimalPart.length()>DEC_CIF_MAX)//los valores limites
System.out.println(integerPart);
System.out.println(decimalPart);
parsedDouble = (1.0*Integer.parseInt(integerPart)) + (Integer.parseInt(decimalPart)/Math.pow(10, decimalPart.length()));
System.out.println(parsedDouble);
return parsedDouble;
}
}
| [
"esmorales@arcba-esmorales.ml.com"
] | esmorales@arcba-esmorales.ml.com |
ab1a80a315aba19c7d350b56381bfc262150b6e1 | 90e60dcc73725052af882ec5630ac5809bd2a71d | /src/com/hotmail/AdrianSRJose/PatternPro/Menus/StaticMenuItem.java | fcf0e5823c39b38637d37793e67472e9251e3caa | [] | no_license | Isoface/PatternPro | 3faf8b28e4a1f901719f60b7c522b1fda4733562 | 85830dc2d36885324e7d4b7575526f8f738c5c14 | refs/heads/master | 2020-03-15T18:57:47.435784 | 2018-05-06T01:28:00 | 2018-05-06T01:28:00 | 132,296,621 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 512 | java | package com.hotmail.AdrianSRJose.PatternPro.Menus;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
/**
* A {@link ninja.amp.ampmenus.items.MenuItem} whose icon never changes.
*/
public class StaticMenuItem extends MenuItem
{
public StaticMenuItem(String displayName, ItemStack icon, String... lore)
{
super(displayName, icon, lore);
setNameAndLore(getIcon(), getDisplayName(), getLore());
}
@Override
public ItemStack getFinalIcon(Player player)
{
return getIcon();
}
}
| [
"noreply@github.com"
] | Isoface.noreply@github.com |
1f688c5761965dbd4775e172d3217eba43130c77 | 952da83623578457298e274144afef6d3c00e944 | /ferox-renderer-jogl/src/main/java/com/ferox/renderer/impl/jogl/JoglDepthCubeMapBuilder.java | 1973deda100510abc27d117e96d3f942c5df7060 | [
"BSD-2-Clause"
] | permissive | lhkbob/ferox | fb763c7546f2b186f548b13158c67142cff882bf | d35e8cfb5b4e2b70ada16d57bdd002e6c3e13846 | refs/heads/main | 2022-05-21T02:52:01.737367 | 2018-06-15T23:10:07 | 2018-06-15T23:10:07 | 254,251,091 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,517 | java | /*
* Ferox, a graphics and game library in Java
*
* Copyright (c) 2012, Michael Ludwig
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.ferox.renderer.impl.jogl;
import com.ferox.renderer.DepthCubeMap;
import com.ferox.renderer.builder.CubeImageData;
import com.ferox.renderer.builder.DepthCubeMapBuilder;
import com.ferox.renderer.impl.FrameworkImpl;
import com.ferox.renderer.impl.resources.TextureImpl;
/**
*
*/
public class JoglDepthCubeMapBuilder extends JoglSamplerBuilder<DepthCubeMap, DepthCubeMapBuilder>
implements DepthCubeMapBuilder {
public JoglDepthCubeMapBuilder(FrameworkImpl framework) {
super(DepthCubeMapBuilder.class, DepthCubeMap.class, TextureImpl.Target.TEX_CUBEMAP, framework);
// preconfigure abstract builder for this type of texture
depth(1);
imageCount(6);
}
@Override
protected DepthCubeMap wrap(TextureImpl.TextureHandle handle) {
return wrapAsDepthCubeMap(handle);
}
@Override
public CubeImageData<? extends DepthData> depth() {
return cubeDepth();
}
@Override
public CubeImageData<? extends DepthStencilData> depthStencil() {
return cubeDepthStencil();
}
}
| [
"lhkbob@gmail.com"
] | lhkbob@gmail.com |
56ebe70a45e8b0e7dbba1fe9425b1f776f3b830d | 19f108052063e05219a0cf4e69425912e9c4d4cd | /lab3/spring-core-lab/spring-wiring/src/main/java/org/tai/spring/wiring/domain/model/Transaction.java | ba205a9dc010496f1ab60483bb5c68545a06b6fa | [] | no_license | bartosz-grabski/webapp-tech | 1100230586c70acbe7941c6d10396136397c06a2 | bb83468822175a7f0639203c05d2f0c413f9f508 | refs/heads/master | 2020-03-29T19:50:54.090372 | 2014-11-19T18:42:04 | 2014-11-19T18:42:04 | 25,145,042 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 676 | java | package org.tai.spring.wiring.domain.model;
import java.math.BigDecimal;
import org.joda.time.DateTime;
public class Transaction {
private final Account account;
private final BigDecimal amount;
private final DateTime transactionDate;
public Transaction(Account account, DateTime dateTime, BigDecimal amount) {
this.account = account;
this.transactionDate = dateTime;
this.amount = amount;
}
@Override
public String toString() {
return String.format("Transaction [account=%s, amount=%s, transactionDate=%s]", account, amount,
transactionDate);
}
public Account account() {
return account;
}
public BigDecimal amount() {
return amount;
}
}
| [
"b.grabski92@gmail.com"
] | b.grabski92@gmail.com |
8acea2a357ae71021a90f5a9b3bfbd7ce6c071ff | 5fb8562ba1b0aedba1c8e55c55045cefb5896905 | /src/main/java/com/wpcursos/course/repositories/OrderItemRepository.java | da816effe3d48252621aa086d755d0c415b2594f | [] | no_license | luidrocha/course-spring-boot-2-java-11 | dc5479f3973ffeb77cbd305126bb82296f04ed3b | cc80cf344968e4e1ad21fdc568459ce2b6a018ac | refs/heads/master | 2022-11-17T10:17:02.606903 | 2020-07-14T18:23:10 | 2020-07-14T18:23:10 | 256,637,905 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 366 | java | package com.wpcursos.course.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import com.wpcursos.course.entities.OrderItem;
import com.wpcursos.course.entities.User;
// JpaRepositor possui uma série de metodos prontos para trabalhar com a base de dados.
public interface OrderItemRepository extends JpaRepository<OrderItem, Long>{
}
| [
"luidrocha@yahoo.com.br"
] | luidrocha@yahoo.com.br |
538952dd377bff31fbc251b545f2178c9231523c | efde2d069224fa24c31e9024425218019b586731 | /src/main/java/org/apache/sysds/hops/NaryOp.java | d7b66ddf91d2395fee939ebe9444bfbfe21c01cc | [
"Apache-2.0"
] | permissive | muehlburger/systemml | 062bf8cbee23f02a010338308b2c13ba1402ff47 | c6d7a52e2e4259fa62ba8e0b15cdfe1397baac0f | refs/heads/master | 2022-11-10T02:17:59.890549 | 2020-06-23T20:46:05 | 2020-06-23T21:06:06 | 255,599,611 | 0 | 0 | Apache-2.0 | 2020-04-14T12:12:54 | 2020-04-14T12:12:53 | null | UTF-8 | Java | false | false | 7,781 | java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.sysds.hops;
import org.apache.sysds.common.Types.DataType;
import org.apache.sysds.common.Types.OpOpN;
import org.apache.sysds.common.Types.ValueType;
import org.apache.sysds.hops.rewrite.HopRewriteUtils;
import org.apache.sysds.lops.Lop;
import org.apache.sysds.lops.LopProperties.ExecType;
import org.apache.sysds.lops.Nary;
import org.apache.sysds.runtime.meta.DataCharacteristics;
import org.apache.sysds.runtime.meta.MatrixCharacteristics;
/**
* The NaryOp Hop allows for a variable number of operands. Functionality
* such as 'printf' (overloaded into the existing print function) is an example
* of an operation that potentially takes a variable number of operands.
*
*/
public class NaryOp extends Hop {
protected OpOpN _op = null;
protected NaryOp() {
}
/**
* NaryOp constructor.
*
* @param name
* the target name, typically set by the DMLTranslator when
* constructing Hops. (For example, 'parsertemp1'.)
* @param dataType
* the target data type (SCALAR for printf)
* @param valueType
* the target value type (STRING for printf)
* @param op
* the operation type (such as PRINTF)
* @param inputs
* a variable number of input Hops
*/
public NaryOp(String name, DataType dataType, ValueType valueType,
OpOpN op, Hop... inputs) {
super(name, dataType, valueType);
_op = op;
for (int i = 0; i < inputs.length; i++) {
getInput().add(i, inputs[i]);
inputs[i].getParent().add(this);
}
refreshSizeInformation();
}
/** MultipleOp may have any number of inputs. */
@Override
public void checkArity() {}
public OpOpN getOp() {
return _op;
}
@Override
public String getOpString() {
return "m(" + _op.name().toLowerCase() + ")";
}
@Override
public boolean isGPUEnabled() {
return false;
}
/**
* Construct the corresponding Lops for this Hop
*/
@Override
public Lop constructLops() {
// reuse existing lop
if (getLops() != null)
return getLops();
try {
Lop[] inLops = new Lop[getInput().size()];
for (int i = 0; i < getInput().size(); i++)
inLops[i] = getInput().get(i).constructLops();
ExecType et = optFindExecType();
Nary multipleCPLop = new Nary(_op, getDataType(), getValueType(), inLops, et);
setOutputDimensions(multipleCPLop);
setLineNumbers(multipleCPLop);
setLops(multipleCPLop);
}
catch (Exception e) {
throw new HopsException(this.printErrorLocation() + "error constructing Lops for NaryOp -- \n ", e);
}
// add reblock/checkpoint lops if necessary
constructAndSetLopsDataFlowProperties();
return getLops();
}
@Override
public boolean allowsAllExecTypes() {
return false;
}
@Override
public void computeMemEstimate(MemoTable memo) {
//overwrites default hops behavior
super.computeMemEstimate(memo);
//specific case for function call
if( _op == OpOpN.EVAL ) {
_memEstimate = OptimizerUtils.INT_SIZE;
_outputMemEstimate = OptimizerUtils.INT_SIZE;
_processingMemEstimate = 0;
}
}
@Override
protected double computeOutputMemEstimate(long dim1, long dim2, long nnz) {
double sparsity = OptimizerUtils.getSparsity(dim1, dim2, nnz);
return OptimizerUtils.estimateSizeExactSparsity(dim1, dim2, sparsity);
}
@Override
protected ExecType optFindExecType() {
checkAndSetForcedPlatform();
ExecType REMOTE = ExecType.SPARK;
//forced / memory-based / threshold-based decision
if( _etypeForced != null ) {
_etype = _etypeForced;
}
else
{
if ( OptimizerUtils.isMemoryBasedOptLevel() )
_etype = findExecTypeByMemEstimate();
// Choose CP, if the input dimensions are below threshold or if the input is a vector
else if ( areDimsBelowThreshold() )
_etype = ExecType.CP;
else
_etype = REMOTE;
//check for valid CP dimensions and matrix size
checkAndSetInvalidCPDimsAndSize();
}
//mark for recompile (forever)
setRequiresRecompileIfNecessary();
//ensure cp exec type for single-node operations
if ( _op == OpOpN.PRINTF || _op == OpOpN.EVAL || _op == OpOpN.LIST
//TODO: cbind/rbind of lists only support in CP right now
|| (_op == OpOpN.CBIND && getInput().get(0).getDataType().isList())
|| (_op == OpOpN.RBIND && getInput().get(0).getDataType().isList())
|| _op.isCellOp() && getInput().stream().allMatch(h -> h.getDataType().isScalar()))
_etype = ExecType.CP;
return _etype;
}
@Override
protected double computeIntermediateMemEstimate(long dim1, long dim2, long nnz) {
return 0;
}
@Override
@SuppressWarnings("incomplete-switch")
protected DataCharacteristics inferOutputCharacteristics(MemoTable memo) {
if( !getDataType().isScalar() ) {
DataCharacteristics[] dc = memo.getAllInputStats(getInput());
switch( _op ) {
case CBIND: return new MatrixCharacteristics(
HopRewriteUtils.getMaxInputDim(dc, true),
HopRewriteUtils.getSumValidInputDims(dc, false), -1,
HopRewriteUtils.getSumValidInputNnz(dc, true));
case RBIND: return new MatrixCharacteristics(
HopRewriteUtils.getSumValidInputDims(dc, true),
HopRewriteUtils.getMaxInputDim(dc, false), -1,
HopRewriteUtils.getSumValidInputNnz(dc, true));
case MIN:
case MAX:
case PLUS: return new MatrixCharacteristics(
HopRewriteUtils.getMaxInputDim(this, true),
HopRewriteUtils.getMaxInputDim(this, false), -1, -1);
case LIST:
return new MatrixCharacteristics(getInput().size(), 1, -1, -1);
}
}
return null; //do nothing
}
@Override
public void refreshSizeInformation() {
switch( _op ) {
case CBIND:
setDim1(HopRewriteUtils.getMaxInputDim(this, true));
setDim2(HopRewriteUtils.getSumValidInputDims(this, false));
setNnz(HopRewriteUtils.getSumValidInputNnz(this));
break;
case RBIND:
setDim1(HopRewriteUtils.getSumValidInputDims(this, true));
setDim2(HopRewriteUtils.getMaxInputDim(this, false));
setNnz(HopRewriteUtils.getSumValidInputNnz(this));
break;
case MIN:
case MAX:
case PLUS:
setDim1(getDataType().isScalar() ? 0 : HopRewriteUtils.getMaxInputDim(this, true));
setDim2(getDataType().isScalar() ? 0 : HopRewriteUtils.getMaxInputDim(this, false));
break;
case LIST:
setDim1(getInput().size());
setDim2(1);
case PRINTF:
case EVAL:
//do nothing:
}
}
@Override
public Object clone() throws CloneNotSupportedException {
NaryOp multipleOp = new NaryOp();
// copy generic attributes
multipleOp.clone(this, false);
// copy specific attributes
multipleOp._op = _op;
return multipleOp;
}
@Override
public boolean compare(Hop that) {
if (!(that instanceof NaryOp) || _op == OpOpN.PRINTF)
return false;
NaryOp that2 = (NaryOp) that;
boolean ret = (_op == that2._op
&& getInput().size() == that2.getInput().size());
for( int i=0; i<getInput().size() && ret; i++ )
ret &= (getInput().get(i) == that2.getInput().get(i));
return ret;
}
}
| [
"mboehm7@gmail.com"
] | mboehm7@gmail.com |
a33dfb536f5b16b5888aa9346dc1fe876ea585c4 | b60edef7a15590d579c8e37162e500e15f9cdf2f | /app/src/main/java/com/bowen/tcm/login/presenter/ForgetPasswordPresenter.java | 97df86df2ec14a8f64544d40d275297f6dcd3390 | [] | no_license | androiddeveloper007/ByOnline | f4c921bd4f1efbf9b82786b729143ab734a3e2fc | f015c8cb355eeaf23cfe7ff442a1b809e13507e8 | refs/heads/master | 2020-03-31T16:19:24.345222 | 2018-10-16T13:29:24 | 2018-10-16T13:29:24 | 152,370,417 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,579 | java | package com.bowen.tcm.login.presenter;
import android.content.Context;
import android.text.TextUtils;
import com.bowen.commonlib.base.BasePresenter;
import com.bowen.commonlib.http.HttpResult;
import com.bowen.commonlib.http.HttpTaskCallBack;
import com.bowen.commonlib.utils.CheckStringUtl;
import com.bowen.commonlib.utils.ToastUtil;
import com.bowen.tcm.login.contract.ForgetPasswordContract;
import com.bowen.tcm.login.model.ForgetPasswordModel;
import com.bowen.tcm.login.model.RegistModel;
/**
* Created by AwenZeng on 2017/6/2.
*/
public class ForgetPasswordPresenter extends BasePresenter implements ForgetPasswordContract.Presenter {
private ForgetPasswordModel mPasswordModel;
private RegistModel mRegistModel;
private ForgetPasswordContract.View mView;
public ForgetPasswordPresenter(Context mContext, ForgetPasswordContract.View view) {
super(mContext);
mPasswordModel = new ForgetPasswordModel(mContext);
mRegistModel = new RegistModel(mContext);
mView = view;
}
/**
* 检测输入的字段
*
* @param phoneNum
* @return
*/
public boolean checkContent(String phoneNum, String authCode,String password) {
if (TextUtils.isEmpty(phoneNum)) {
showToast("请输入手机号码");
return false;
} else if (!CheckStringUtl.isMobileNum(phoneNum)) {
showToast("请输入11位数字的手机号码");
return false;
}
if (TextUtils.isEmpty(authCode)) {
showToast("请输入验证码");
return false;
}else if(CheckStringUtl.isAuthCode(authCode)){
showToast("请输入正确格式的验证码");
return false;
}
if (TextUtils.isEmpty(password)) {
showToast("请输入登录密码");
return false;
} else if (!CheckStringUtl.isPassword(password)) {
showToast("请输入正确格式的登录密码");
return false;
}
return true;
}
private void showToast(String erro) {
ToastUtil.getInstance().showToastDialog(erro);
}
@Override
public void findSetPassword(String phone, String authCode, String password) {
mPasswordModel.findSetPassword(phone, authCode,password, new HttpTaskCallBack() {
@Override
public void onSuccess(HttpResult result) {
mView.onFindPswSuccess();
}
@Override
public void onFail(HttpResult result) {
showToast(result.getMsg());
}
});
}
@Override
public void getAuthCode(String phone, int codeType, int businessType) {
mRegistModel.getAuthCode(phone, codeType, businessType, new HttpTaskCallBack() {
@Override
public void onSuccess(HttpResult result) {
showToast(result.getMsg());
}
@Override
public void onFail(HttpResult result) {
showToast(result.getMsg());
mView.onGetAuthCodeFailed();
}
});
}
@Override
public void checkAccount(String account,String checkType) {
mRegistModel.checkAccount(account,checkType, new HttpTaskCallBack<Boolean>() {
@Override
public void onSuccess(HttpResult<Boolean> result) {
mView.onCheckAccountSuccess(result.getData());
}
@Override
public void onFail(HttpResult<Boolean> result) {
}
});
}
}
| [
"zhu852514500@163.com"
] | zhu852514500@163.com |
e021db31a51487fd0e45e3cabc8db1a3d6c19a6c | b6530eb4961f0eefe925e64aa12ea6699f34aada | /src/main/java/optik/controllers/BaseController.java | 85867cf36bc37d657fcb108387160684a61c3d3c | [] | no_license | kamolchanokTa/IOptikService | d82b694f752d26f7f782aac802a38a542e9be641 | 49118869ec10ae4962327202b52c6a5865f0a7d1 | refs/heads/master | 2020-03-12T05:32:46.405657 | 2018-05-30T19:40:47 | 2018-05-30T19:40:47 | 130,465,653 | 0 | 0 | null | 2018-05-15T08:56:13 | 2018-04-21T11:02:07 | Java | UTF-8 | Java | false | false | 1,108 | java | package optik.controllers;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import optik.AppProperties;
import optik.PropertiesReader;
@Controller
public class BaseController {
@Autowired
private PropertiesReader propertiesReader;
BaseController(){
propertiesReader = new PropertiesReader();
}
public AppProperties getAppProperties() {
return propertiesReader.getAppProperties();
}
public boolean isValidAppid(String appid) {
return matching(appid,propertiesReader.getAppProperties().getName());
}
private static boolean matching(String orig, String compare){
String md5 = null;
try{
MessageDigest md = MessageDigest.getInstance("MD5");
md.update(compare.getBytes());
byte[] digest = md.digest();
md5 = new BigInteger(1, digest).toString(16);
return md5.equals(orig);
} catch (NoSuchAlgorithmException e) {
return false;
}
}
}
| [
"kamolchanok.tangsri@gmail.com"
] | kamolchanok.tangsri@gmail.com |
916b9def2ce020064bd6730b2fb8c80c112db7f0 | 681d79ab1f08ff5c173b4f91a7c866f656be7a39 | /src/main/java/org/cpw/cache/memCached/IMemcachedCache.java | 45ef022829f33910b3607e914f482648f7f1145d | [] | no_license | yincbao/common-client | ba56fe04d7e47fd337b43437be22dceaae10d4f9 | d4711b95b1416d0d601cd4dfe9479c11aaf426f1 | refs/heads/master | 2020-12-24T15:13:48.291595 | 2015-09-14T05:20:27 | 2015-09-14T05:21:13 | 42,082,069 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 440 | java | package org.cpw.cache.memCached;
import org.cpw.cache.ICache;
public interface IMemcachedCache extends ICache{
public long incr(Object key, long value);
public long incr(Object key, long value, long defaultValue);
public long decr(Object key, long value);
public long keyVersion(Object key);
public boolean cas(Object key, Object value,long exptime);
public boolean cas(Object key, Object value) ;
}
| [
"yinchangbao6611@sina.com"
] | yinchangbao6611@sina.com |
1d38c5a00862012b28e501b029b18c54a8da51c6 | 14ef581e906cc2cdd100ddc620183684440e0366 | /src/main/java/com/example/bookApp/rest/RestController.java | ace955831e81f21e4dd125800376d2831553e3b9 | [] | no_license | lukaszstefanowski97/bookApp | 9a8a9157e99c23916745f127ecedb0c20a56ce7e | ed0e0795395d3b817451677faf0e21d4f76c6491 | refs/heads/master | 2022-12-23T04:52:54.731641 | 2019-05-27T13:05:25 | 2019-05-27T13:05:25 | 179,335,405 | 0 | 0 | null | 2022-12-10T05:29:44 | 2019-04-03T17:11:32 | Java | UTF-8 | Java | false | false | 2,986 | java | package com.example.bookApp.rest;
import com.example.bookApp.config.Constants;
import com.example.bookApp.dto.Book;
import com.example.bookApp.dto.ResponseObject;
import com.example.bookApp.service.BookGetterService;
import com.example.bookApp.service.BookSaverService;
import com.example.bookApp.validation.InputValidation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@org.springframework.web.bind.annotation.RestController
@RequestMapping("/api")
@Slf4j
public class RestController {
@Autowired
private BookSaverService bookSaverService;
@Autowired
private InputValidation inputValidation;
@Autowired
private BookGetterService bookGetterService;
@RequestMapping(method = RequestMethod.POST, value = "/addBook")
public ResponseObject addBook(@RequestBody Book book) {
if (!inputValidation.validateAuthor(book.getAuthor()) && inputValidation.validateIsbn(book.getIsbn())) {
log.info(Constants.INVALID_ATTEMPT_MESSAGE);
ResponseObject responseObject =
new ResponseObject(400, "Bad Request", Constants.INVALID_AUTHOR_MESSAGE);
return responseObject;
} else if (inputValidation.validateAuthor(book.getAuthor()) && !inputValidation.validateIsbn(book.getIsbn())) {
log.info(Constants.INVALID_ATTEMPT_MESSAGE);
ResponseObject responseObject =
new ResponseObject(400, "Bad Request", Constants.INVALID_ISBN_MESSAGE);
return responseObject;
} else if (!inputValidation.validateAuthor(book.getAuthor()) && !inputValidation.validateIsbn(book.getIsbn())) {
log.info(Constants.INVALID_ATTEMPT_MESSAGE);
ResponseObject responseObject =
new ResponseObject(400, "Bad Request", Constants.INVALID_INPUT_MESSAGE);
return responseObject;
} else {
log.info(Constants.REQUEST_ACCEPTED_MESSAGE.replace('.', ':') + "\n" +
book.getAuthor() + "\n" + book.getTitle() + "\n" + book.getIsbn());
bookSaverService.saveToRepository(book.getAuthor(), book.getTitle(), book.getIsbn());
++Constants.entries;
ResponseObject responseObject =
new ResponseObject(200, "OK", Constants.REQUEST_ACCEPTED_MESSAGE);
return responseObject;
}
}
@RequestMapping("/books")
public <T> T getAllBooks() {
log.info("Getting list of books...");
if (Constants.entries == 0) {
ResponseObject responseObject =
new ResponseObject(204, "No content", Constants.NO_CONTENT_MESSAGE);
return (T) responseObject;
}
return (T) bookGetterService.getAllBooks();
}
}
| [
"kOpRoFaGiA97"
] | kOpRoFaGiA97 |
4d33e1f2aabf560f2d596f2721c714f9b3c66d1a | 9fb693a20ae84a56ae03ae6e3269a9a2e3ece91e | /pensionerDisbursementMicroservice/src/main/java/com/pensionerDisbursementMicroservice/config/SwaggerConfig.java | dcf248ce7542c530b6670f84ff5d6177719bec8d | [] | no_license | akhil2740/Pension-Management-Disbursement-micro | 15f6fce83b8c9f13f515d2de81aaaf803891ffc7 | 63460eb8a604a213dc45a7027d8940647bb4ea39 | refs/heads/master | 2023-07-05T13:25:11.659268 | 2021-08-06T04:10:22 | 2021-08-06T04:10:22 | 393,249,991 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 906 | java | package com.pensionerDisbursementMicroservice.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.google.common.base.Predicates;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@Configuration
@EnableSwagger2
public class SwaggerConfig {
@Bean
public Docket configureSwagger2() {
return new Docket(DocumentationType.SWAGGER_2)
.select().apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any())
.paths(Predicates.not(PathSelectors.regex("/error.*")))
.build();
}
}
| [
"om@DESKTOP-SH47IL4"
] | om@DESKTOP-SH47IL4 |
db908a3dc402e7b753ad92d9e6b2bbac054e08a7 | c7907f09aed70ec7609808f40e44f049c25551e2 | /.svn/pristine/20/20f715691af8207c8cff98babdfeaea7424532dd.svn-base | 4ca097ff0fe4081c62f736d0c0a3706a48555e44 | [] | no_license | aw12sds/zxerp | e95bc46cc224b5548ab959156c04bfa7c7255c50 | bc67c8aba9773b7d70ced9cb9277c3836396453a | refs/heads/master | 2021-09-03T03:49:00.725121 | 2018-01-05T09:08:36 | 2018-01-05T09:08:36 | 115,586,688 | 0 | 2 | null | null | null | null | UTF-8 | Java | false | false | 2,609 | package jehc.xtmodules.xtservice.impl;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import jehc.xtmodules.xtcore.base.BaseService;
import jehc.xtmodules.xtcore.util.ExceptionUtil;
import jehc.xtmodules.xtdao.XtMonitorCpuDao;
import jehc.xtmodules.xtmodel.XtMonitorCpu;
import jehc.xtmodules.xtservice.XtMonitorCpuService;
/**
* 服务器CPU运行
* 2015-05-24 15:04:44 邓纯杰
*/
@Service("xtMonitorCpuService")
public class XtMonitorCpuServiceImpl extends BaseService implements XtMonitorCpuService{
@Autowired
private XtMonitorCpuDao xtMonitorCpuDao;
/**
* 分页
* @param condition
* @return
*/
public List<XtMonitorCpu> getXtMonitorCpuListByCondition(Map<String,Object> condition){
try {
return xtMonitorCpuDao.getXtMonitorCpuListByCondition(condition);
} catch (Exception e) {
/**方案一加上这句话这样程序异常时才能被aop捕获进而回滚**/
throw new ExceptionUtil(e.getMessage(),e.getCause());
}
}
/**
* 查询对象
* @param xt_monitor_cpu_id
* @return
*/
public XtMonitorCpu getXtMonitorCpuById(String xt_monitor_cpu_id){
try {
return xtMonitorCpuDao.getXtMonitorCpuById(xt_monitor_cpu_id);
} catch (Exception e) {
/**方案一加上这句话这样程序异常时才能被aop捕获进而回滚**/
throw new ExceptionUtil(e.getMessage(),e.getCause());
}
}
/**
* 添加
* @param xt_monitor_cpu
* @return
*/
public int addXtMonitorCpu(XtMonitorCpu xt_Monitor_Cpu){
int i = 0;
try {
i = xtMonitorCpuDao.addXtMonitorCpu(xt_Monitor_Cpu);
} catch (Exception e) {
i = 0;
/**方案一加上这句话这样程序异常时才能被aop捕获进而回滚**/
throw new ExceptionUtil(e.getMessage(),e.getCause());
}
return i;
}
/**
* 修改
* @param xt_monitor_cpu
* @return
*/
public int updateXtMonitorCpu(XtMonitorCpu xt_Monitor_Cpu){
int i = 0;
try {
i = xtMonitorCpuDao.updateXtMonitorCpu(xt_Monitor_Cpu);
} catch (Exception e) {
i = 0;
/**方案一加上这句话这样程序异常时才能被aop捕获进而回滚**/
throw new ExceptionUtil(e.getMessage(),e.getCause());
}
return i;
}
/**
* 删除
* @param condition
* @return
*/
public int delXtMonitorCpu(Map<String,Object> condition){
int i = 0;
try {
i = xtMonitorCpuDao.delXtMonitorCpu(condition);
} catch (Exception e) {
i = 0;
/**方案一加上这句话这样程序异常时才能被aop捕获进而回滚**/
throw new ExceptionUtil(e.getMessage(),e.getCause());
}
return i;
}
}
| [
"jdmossmanson@163.com"
] | jdmossmanson@163.com | |
b091b0490ea101ee85533c2d11f66e5329286abe | ed06a5beb7128ccfc386922612be3b5364fe74ab | /Date0605/src/PingTest.java | 4aac29775ddd190fc56aa10c2cdbfaf1084fa437 | [] | no_license | jungyongsin/-2 | 669490030cf46a093842ad2604125e849a76aea2 | b651f46ede312db9a4ae992a1bedcb127f7ad270 | refs/heads/master | 2020-03-21T07:04:44.426143 | 2018-06-22T05:38:21 | 2018-06-22T05:38:21 | 138,259,251 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,413 | java | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class PingTest {
String ip = "ip address";
String pingResult = "";
public PingTest(String ip) {
// TODO Auto-generated constructor stub
this.ip = ip;
}
public Object[] ResultPing(){
Object[] results = new Object[3];
String pinCmd = "ping -a " + ip;
Runtime runtime = Runtime.getRuntime();
try {
Process process = runtime.exec(pinCmd);
BufferedReader in = new BufferedReader(
new InputStreamReader(process.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null) {
Pattern pattern = Pattern.compile("(\\d+ms)\\s+TTL=(\\d+)");
Matcher matcher = pattern.matcher(inputLine);
Pattern pattern2 = Pattern.compile("Ping\\s+(.+)\\s+\\[");
Matcher matcher2 = pattern2.matcher(inputLine);
if (matcher2.find()) {
results[2] = matcher2.group(1);
System.out.println(matcher2.group(1));
}
if (matcher.find()) {
results[0] = matcher.group(1);
results[1] = matcher.group(2);
System.out.println(matcher.group(1) + "," + matcher.group(2));
break;
}
}
in.close();
} catch (Exception e) {
// TODO: handle exception
}
return results;
}
public static void main(String[] args) {
PingTest pt = new PingTest("192.168.3.119");
pt.ResultPing();
}
}
| [
"sksms9981@gmail.com"
] | sksms9981@gmail.com |
4b2c1d6c77cfd6935f9af27fedc8b97f4ca7d69a | ba67a1cec91c75e539d073238060ed403072d34b | /Aufgabenblatt2/src/Aufgabe1.java | 9a1e7c458a6191e8a475a12298c15644016cb6e2 | [] | no_license | StudyBudds/ep1 | 1407b91b21ce78f6a86fe74bb1d9675487d07b62 | 7ee46d4e7a3721f531fa79f06b4a7c5a01522fdf | refs/heads/master | 2023-01-05T11:28:57.587119 | 2020-10-31T15:56:40 | 2020-10-31T15:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 986 | java | import java.awt.*;
/*
Aufgabe 1) Schleifen - Optische Täuschung
*/
public class Aufgabe1 {
public static void main(String[] args) {
//TODO: Implementieren Sie hier Ihre Lösung für die Angabe
StdDraw.setCanvasSize(520, 520);
StdDraw.setScale(0, 520);
StdDraw.setPenColor(Color.BLACK);
StdDraw.setPenRadius(0.0075);
for(int i = 0; i < 11; i++) {
StdDraw.line(260, 260, i*52, 520);
StdDraw.line(260, 260, 520, 520 - i * 52);
StdDraw.line(260, 260, 520 - i * 52, 0);
StdDraw.line(260, 260, 0, i * 52);
}
StdDraw.setPenColor(Color.RED);
StdDraw.setPenRadius(0.02);
double distance = 520.0 / 6.0;
double offset = 520.0 / 12.0;
for(int i = 0; i < 7; i++) {
StdDraw.line(0,i * distance + offset, 520, i * distance + offset);
StdDraw.line(i * distance + offset,0, i * distance + offset, 520);
}
}
}
| [
"dani.fenz@aon.at"
] | dani.fenz@aon.at |
0d018f742af0a719abdfbe8bc40e95d71331a8aa | 2a75cd1faa348c86a67052f5244232d81d35c0ad | /src/cn/edu/hbpu/bookstore/pojo/ShopcartExample.java | 55533f27cb38d03ae34fe4d00af33f3f9be00ba9 | [] | no_license | zengsirui/bookstore | ec922c6fa537c2f67bb40c62a090400937d679f2 | 70ebd8d80fb8f60e25c9c7712aae20d3c28eb137 | refs/heads/master | 2020-05-06T12:29:09.741901 | 2019-04-08T10:31:40 | 2019-04-08T10:31:40 | 180,125,134 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 14,902 | java | package cn.edu.hbpu.bookstore.pojo;
import java.util.ArrayList;
import java.util.List;
public class ShopcartExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ShopcartExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andSidIsNull() {
addCriterion("sid is null");
return (Criteria) this;
}
public Criteria andSidIsNotNull() {
addCriterion("sid is not null");
return (Criteria) this;
}
public Criteria andSidEqualTo(Integer value) {
addCriterion("sid =", value, "sid");
return (Criteria) this;
}
public Criteria andSidNotEqualTo(Integer value) {
addCriterion("sid <>", value, "sid");
return (Criteria) this;
}
public Criteria andSidGreaterThan(Integer value) {
addCriterion("sid >", value, "sid");
return (Criteria) this;
}
public Criteria andSidGreaterThanOrEqualTo(Integer value) {
addCriterion("sid >=", value, "sid");
return (Criteria) this;
}
public Criteria andSidLessThan(Integer value) {
addCriterion("sid <", value, "sid");
return (Criteria) this;
}
public Criteria andSidLessThanOrEqualTo(Integer value) {
addCriterion("sid <=", value, "sid");
return (Criteria) this;
}
public Criteria andSidIn(List<Integer> values) {
addCriterion("sid in", values, "sid");
return (Criteria) this;
}
public Criteria andSidNotIn(List<Integer> values) {
addCriterion("sid not in", values, "sid");
return (Criteria) this;
}
public Criteria andSidBetween(Integer value1, Integer value2) {
addCriterion("sid between", value1, value2, "sid");
return (Criteria) this;
}
public Criteria andSidNotBetween(Integer value1, Integer value2) {
addCriterion("sid not between", value1, value2, "sid");
return (Criteria) this;
}
public Criteria andPidIsNull() {
addCriterion("pid is null");
return (Criteria) this;
}
public Criteria andPidIsNotNull() {
addCriterion("pid is not null");
return (Criteria) this;
}
public Criteria andPidEqualTo(Integer value) {
addCriterion("pid =", value, "pid");
return (Criteria) this;
}
public Criteria andPidNotEqualTo(Integer value) {
addCriterion("pid <>", value, "pid");
return (Criteria) this;
}
public Criteria andPidGreaterThan(Integer value) {
addCriterion("pid >", value, "pid");
return (Criteria) this;
}
public Criteria andPidGreaterThanOrEqualTo(Integer value) {
addCriterion("pid >=", value, "pid");
return (Criteria) this;
}
public Criteria andPidLessThan(Integer value) {
addCriterion("pid <", value, "pid");
return (Criteria) this;
}
public Criteria andPidLessThanOrEqualTo(Integer value) {
addCriterion("pid <=", value, "pid");
return (Criteria) this;
}
public Criteria andPidIn(List<Integer> values) {
addCriterion("pid in", values, "pid");
return (Criteria) this;
}
public Criteria andPidNotIn(List<Integer> values) {
addCriterion("pid not in", values, "pid");
return (Criteria) this;
}
public Criteria andPidBetween(Integer value1, Integer value2) {
addCriterion("pid between", value1, value2, "pid");
return (Criteria) this;
}
public Criteria andPidNotBetween(Integer value1, Integer value2) {
addCriterion("pid not between", value1, value2, "pid");
return (Criteria) this;
}
public Criteria andUseridIsNull() {
addCriterion("userid is null");
return (Criteria) this;
}
public Criteria andUseridIsNotNull() {
addCriterion("userid is not null");
return (Criteria) this;
}
public Criteria andUseridEqualTo(Integer value) {
addCriterion("userid =", value, "userid");
return (Criteria) this;
}
public Criteria andUseridNotEqualTo(Integer value) {
addCriterion("userid <>", value, "userid");
return (Criteria) this;
}
public Criteria andUseridGreaterThan(Integer value) {
addCriterion("userid >", value, "userid");
return (Criteria) this;
}
public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
addCriterion("userid >=", value, "userid");
return (Criteria) this;
}
public Criteria andUseridLessThan(Integer value) {
addCriterion("userid <", value, "userid");
return (Criteria) this;
}
public Criteria andUseridLessThanOrEqualTo(Integer value) {
addCriterion("userid <=", value, "userid");
return (Criteria) this;
}
public Criteria andUseridIn(List<Integer> values) {
addCriterion("userid in", values, "userid");
return (Criteria) this;
}
public Criteria andUseridNotIn(List<Integer> values) {
addCriterion("userid not in", values, "userid");
return (Criteria) this;
}
public Criteria andUseridBetween(Integer value1, Integer value2) {
addCriterion("userid between", value1, value2, "userid");
return (Criteria) this;
}
public Criteria andUseridNotBetween(Integer value1, Integer value2) {
addCriterion("userid not between", value1, value2, "userid");
return (Criteria) this;
}
public Criteria andSubtotalIsNull() {
addCriterion("subtotal is null");
return (Criteria) this;
}
public Criteria andSubtotalIsNotNull() {
addCriterion("subtotal is not null");
return (Criteria) this;
}
public Criteria andSubtotalEqualTo(Double value) {
addCriterion("subtotal =", value, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalNotEqualTo(Double value) {
addCriterion("subtotal <>", value, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalGreaterThan(Double value) {
addCriterion("subtotal >", value, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalGreaterThanOrEqualTo(Double value) {
addCriterion("subtotal >=", value, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalLessThan(Double value) {
addCriterion("subtotal <", value, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalLessThanOrEqualTo(Double value) {
addCriterion("subtotal <=", value, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalIn(List<Double> values) {
addCriterion("subtotal in", values, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalNotIn(List<Double> values) {
addCriterion("subtotal not in", values, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalBetween(Double value1, Double value2) {
addCriterion("subtotal between", value1, value2, "subtotal");
return (Criteria) this;
}
public Criteria andSubtotalNotBetween(Double value1, Double value2) {
addCriterion("subtotal not between", value1, value2, "subtotal");
return (Criteria) this;
}
public Criteria andCountIsNull() {
addCriterion("count is null");
return (Criteria) this;
}
public Criteria andCountIsNotNull() {
addCriterion("count is not null");
return (Criteria) this;
}
public Criteria andCountEqualTo(Integer value) {
addCriterion("count =", value, "count");
return (Criteria) this;
}
public Criteria andCountNotEqualTo(Integer value) {
addCriterion("count <>", value, "count");
return (Criteria) this;
}
public Criteria andCountGreaterThan(Integer value) {
addCriterion("count >", value, "count");
return (Criteria) this;
}
public Criteria andCountGreaterThanOrEqualTo(Integer value) {
addCriterion("count >=", value, "count");
return (Criteria) this;
}
public Criteria andCountLessThan(Integer value) {
addCriterion("count <", value, "count");
return (Criteria) this;
}
public Criteria andCountLessThanOrEqualTo(Integer value) {
addCriterion("count <=", value, "count");
return (Criteria) this;
}
public Criteria andCountIn(List<Integer> values) {
addCriterion("count in", values, "count");
return (Criteria) this;
}
public Criteria andCountNotIn(List<Integer> values) {
addCriterion("count not in", values, "count");
return (Criteria) this;
}
public Criteria andCountBetween(Integer value1, Integer value2) {
addCriterion("count between", value1, value2, "count");
return (Criteria) this;
}
public Criteria andCountNotBetween(Integer value1, Integer value2) {
addCriterion("count not between", value1, value2, "count");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
} | [
"1140093781@qq.com"
] | 1140093781@qq.com |
2effd2c15f70efbbf9a6e26f2b34211351aa29a0 | 9e356ee58413730b49a1847749fbc13568b51357 | /src/main/java/com/bala/OrderData.java | 4879b0ce4de44385170a9a9abf08ce8013f95b80 | [] | no_license | bbalakriz/quarkus-serverless-app | 72ed9cb7b705f1240d62eff6238194808bd791ca | 28f5ae1111931f135ecd6a4d1625080b00674800 | refs/heads/master | 2023-06-16T21:54:03.887387 | 2021-07-16T09:10:47 | 2021-07-16T09:10:47 | 386,574,895 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 637 | java | package com.bala;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import io.quarkus.hibernate.orm.panache.PanacheEntity;
/**
* OrderData
*/
@Entity
@Table(name = "order_data")
public class OrderData extends PanacheEntity {
public BigDecimal orderAmount;
public Date createdTime;
@OneToMany(cascade = CascadeType.ALL)
@JoinColumn(name = "order_id", nullable = false)
public List<OrderLineItem> orderLines;
} | [
"balakrishnan.b@gmail.com"
] | balakrishnan.b@gmail.com |
2aaec769cf7eb8043e5ad8ae2b219fcbc7ca2772 | 2967ff63462bcb83add662b5c2f007588b2d0edc | /web/src/main/java/org/geogebra/web/full/javax/swing/CheckMarkSubMenu.java | 9b5268d32f5e1ced8f2855f9291d942c41140a65 | [] | no_license | zbynek/geogebra | 568563196bb03881686cfcecb96eac8f5d0f1d9b | 438a6fe06f14ef44b277a028bdac23b8f6e36998 | refs/heads/master | 2023-07-22T01:42:54.596263 | 2022-07-05T06:47:06 | 2022-07-05T06:47:06 | 73,607,446 | 0 | 0 | null | 2016-11-13T09:55:17 | 2016-11-13T09:55:16 | null | UTF-8 | Java | false | false | 1,540 | java | package org.geogebra.web.full.javax.swing;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.user.client.Command;
/**
* @author csilla
*
*/
public abstract class CheckMarkSubMenu {
private List<GCheckmarkMenuItem> items;
/**
* parent menu item of this
*/
protected GCollapseMenuItem parentMenu;
/**
* @param parentMenu
* - parent of wrappedPopup
*/
public CheckMarkSubMenu(
GCollapseMenuItem parentMenu) {
this.parentMenu = parentMenu;
items = new ArrayList<>();
initActions();
}
/**
* Adds a menu item with checkmark
*
* @param text
* of the item
* @param selected
* if checkmark should be shown or not
* @param command
* to execute when selected.
* @param withImg
* true if menu item does have img
*/
public void addItem(String text, boolean selected, Command command,
boolean withImg) {
GCheckmarkMenuItem cm = new GCheckmarkMenuItem(text,
selected, command);
if (withImg) {
cm.getMenuItem().addStyleName("withImg");
}
// wrappedPopup.addItem(cm.getMenuItem());
items.add(cm);
parentMenu.addItem(cm.getMenuItem());
}
/**
* @return nr of items
*/
public int itemCount() {
return items.size();
}
/**
* @param idx
* - index
* @return item at idx
*/
public GCheckmarkMenuItem itemAt(int idx) {
return items.get(idx);
}
/**
* handle the update
*/
public abstract void update();
/**
* init
*/
protected abstract void initActions();
}
| [
"zbynek@dev.geogebra.org"
] | zbynek@dev.geogebra.org |
e14bbefbbd0780610e20b92fb3f8d12c8bfa709c | edd767c20e678fb5a92db82df277050d1bfa6e6c | /mysql/src/main/java/com/mao/mysql/annotations/DbTable.java | 0626c05c4c48998e8678e92716eed2b1ed8f8917 | [] | no_license | maojinhui/ShareProject | 768d4d94578ff6540fa9432b22ee58f1dc6443cf | fe7af4035a05e6047e697c882197a7e2bef47ef3 | refs/heads/master | 2020-09-30T11:57:41.047349 | 2019-12-11T05:29:11 | 2019-12-11T05:29:11 | 227,283,594 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 353 | java | package com.mao.mysql.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* TYPE 写在类名上的注解
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DbTable {
String value();
}
| [
"maojinhui_work@163.com"
] | maojinhui_work@163.com |
3cab580f492033ae7c732259eb94186e38886888 | 32e1bf5ed63d13e4cfc8a749f253bc08e0322f8c | /src/study02/Polynomial.java | 7e4f495bdcbed0ce77ab1bdacf0c7c7151adfedd | [] | no_license | JuHanHeo/GroupStudy | 08aa89f560847a1b2f6a8a390ae5f79f8abcd1dc | dcb71350536635f064a54e283cb33f2450287324 | refs/heads/master | 2021-01-19T21:09:26.252428 | 2017-04-18T11:28:04 | 2017-04-18T11:28:04 | 88,617,111 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 544 | java | package study02;
public class Polynomial {
double[] poly;
int degree;
public Polynomial(double[] p) {
// TODO Auto-generated constructor stub
this.poly = p;
this.degree = p.length;
}
public int getDegree(){
return degree;
}
public double[] getPoly(){
return poly;
}
public double getNum(int i){
return poly[i];
}
public void printPoly(){
int tmp=degree;
for(int i=0;i<tmp;i++){
System.out.print(poly[i] + "x^" + (tmp-i)+" ");
}
System.out.println();
}
}
| [
"허주한@DESKTOP-C8ARMTL"
] | 허주한@DESKTOP-C8ARMTL |
ef3edf28a53fa3c5b3887f2b3c62a25f2a7eca63 | c51afe43e51181fa0c85656a0b5c1bc318aa3c3f | /app/src/main/java/com/jonburleson/utilitybelt/DialogFragmentTwoBtn.java | f6f9a67e2d745c26aaad5674f62ee148f4c0b0ae | [] | no_license | jonburleson/UtilityBelt | d62ff16a59b1e01a9dc71332b41108a62f64ab7c | 1393415409e46b912e67b41020139fe1de1fa15b | refs/heads/master | 2021-07-15T01:04:51.272538 | 2021-04-03T00:39:57 | 2021-04-03T00:39:57 | 241,464,624 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,500 | java | package com.jonburleson.utilitybelt;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog;
import java.util.Objects;
public class DialogFragmentTwoBtn extends androidx.fragment.app.DialogFragment {
public Context c;
private Listener resultListener;
public final static String TITLE = "title";
public final static String MESSAGE = "message";
public DialogFragmentTwoBtn(Context c) {
this.c = c.getApplicationContext();
}
interface Listener{
void askMethod(String resultCode);
}
public void setListener(Listener listener) {
try {
resultListener = listener;
} catch (Throwable t) {
Toast.makeText(c, "Exception: " + t.toString(), Toast.LENGTH_LONG).show();
}
}
@NonNull
@SuppressLint("InflateParams")
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
AlertDialog.Builder builder = new AlertDialog.Builder(requireActivity());
LayoutInflater inflater = requireActivity().getLayoutInflater();
View view = inflater.inflate(R.layout.alert_dialog,null);
builder.setView(view);
Bundle args = getArguments();
String title = null;
String msg = null;
if (args != null) {
title = args.getString(TITLE, "default title");
msg = args.getString(MESSAGE, "default message");
}
TextView alertTitle = view.findViewById(R.id.alert_title);
alertTitle.setText(title);
TextView alertMessage = view.findViewById(R.id.alert_message);
alertMessage.setText(msg);
Button btnOk = view.findViewById(R.id.button_ok);
btnOk.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
resultListener.askMethod("RESULT_OK");
dismiss();
}
});
Button btnCancel = view.findViewById(R.id.button_cancel);
btnCancel.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
dismiss();
}
});
return builder.create();
}
} | [
"24725561+jonburleson@users.noreply.github.com"
] | 24725561+jonburleson@users.noreply.github.com |
b3a53d503bff852870cf1d36d0c40a68a19b103e | dc6b04f29019c0e94b4b2e45f730bb36741e24af | /android/src/main/java/com/sun/flutter_bjyplayer/videoplayer/bean/VideoSizeInfo.java | 49a512aea35e7a392340937c5870533dc21ce355 | [] | no_license | shuigesuntao/flutter_bjyplayer | 414adbe2f3d400999c49635034a1b53cba0e8d24 | 8f4d086f48aaa5f53e15fa77a14c67a4c8fcf535 | refs/heads/master | 2023-08-28T11:00:39.905357 | 2021-10-10T12:21:39 | 2021-10-10T12:21:39 | 403,040,960 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,150 | java | package com.sun.flutter_bjyplayer.videoplayer.bean;
/**
* @author chengang
* @date 2019-08-30
* @email chenganghonor@gmail.com
* @QQ 1410488687
* @package_name com.nj.baijiayun.player.bean
* @describe
*/
public class VideoSizeInfo implements Cloneable{
private int videoWidth;
private int videoHeight;
private int videoSarNum;
private int videoSarDen;
public int getVideoWidth() {
return videoWidth;
}
public void setVideoWidth(int videoWidth) {
this.videoWidth = videoWidth;
}
public int getVideoHeight() {
return videoHeight;
}
public void setVideoHeight(int videoHeight) {
this.videoHeight = videoHeight;
}
public int getVideoSarNum() {
return videoSarNum;
}
public void setVideoSarNum(int videoSarNum) {
this.videoSarNum = videoSarNum;
}
public int getVideoSarDen() {
return videoSarDen;
}
public void setVideoSarDen(int videoSarDen) {
this.videoSarDen = videoSarDen;
}
@Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
}
| [
"2772502640@qq.com"
] | 2772502640@qq.com |
ee16b0eb3d5fdf75724367ce62df762cd5efaa9f | 1ce48fcc3d037f74e4a5941724a47102c3e51c7a | /platform-ui/src/main/java/ua/com/fielden/platform/swing/ei/editors/development/ReadonlyEntityPropertyViewer.java | b075b641efeacd707d5e7e22a371203f7f95dabc | [] | no_license | jhou-pro/tg | 825e3f18f3437003c77905468f416c01fc52b1a7 | 9e73c58fece40be93ddc3bb105fbd5484e1ab393 | refs/heads/master | 2021-01-18T03:36:12.486334 | 2016-06-09T03:08:08 | 2016-06-09T03:08:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,598 | java | /**
*
*/
package ua.com.fielden.platform.swing.ei.editors.development;
import javax.swing.JLabel;
import javax.swing.JPanel;
import net.miginfocom.swing.MigLayout;
import ua.com.fielden.platform.basic.IValueMatcher;
import ua.com.fielden.platform.entity.AbstractEntity;
import ua.com.fielden.platform.swing.components.bind.development.BoundedValidationLayer;
import ua.com.fielden.platform.swing.components.bind.development.ComponentFactory;
import ua.com.fielden.platform.swing.components.bind.development.ComponentFactory.ReadOnlyLabel;
import ua.com.fielden.platform.swing.utils.DummyBuilder;
import ua.com.fielden.platform.utils.EntityUtils.ShowingStrategy;
import ua.com.fielden.platform.utils.Pair;
/**
* This a {@link IPropertyEditor} wrapper for read only entity properties, which can be used for binding <i>far-bound</i> properties that require a display only functionality.
*
* @author TG Team
*/
public class ReadonlyEntityPropertyViewer implements IPropertyEditor {
private AbstractEntity<?> entity;
private final String propertyName;
private final JLabel label;
private final BoundedValidationLayer<ReadOnlyLabel> editor;
public ReadonlyEntityPropertyViewer(final AbstractEntity<?> entity, final String propertyName) {
this.entity = entity;
this.propertyName = propertyName;
final Pair<String, String> titleAndDesc = LabelAndTooltipExtractor.extract(propertyName, entity.getType());
label = DummyBuilder.label(titleAndDesc.getKey());
label.setToolTipText(titleAndDesc.getValue());
editor = ComponentFactory.createLabel(entity, propertyName, titleAndDesc.getValue(), ShowingStrategy.KEY_ONLY);
}
@Override
public BoundedValidationLayer<ReadOnlyLabel> getEditor() {
return editor;
}
@Override
public void bind(final AbstractEntity<?> entity) {
this.entity = entity;
getEditor().rebindTo(entity);
}
@Override
public AbstractEntity<?> getEntity() {
return entity;
}
@Override
public String getPropertyName() {
return propertyName;
}
public JLabel getLabel() {
return label;
}
@Override
public JPanel getDefaultLayout() {
final JPanel panel = new JPanel(new MigLayout("fill, insets 0", "[]5[]", "[c]"));
panel.add(label);
panel.add(getEditor(), "growx");
return panel;
}
@Override
public IValueMatcher<?> getValueMatcher() {
throw new UnsupportedOperationException("Value matcher are not applicable for readonly editors.");
}
}
| [
"oles.hodych@gmail.com"
] | oles.hodych@gmail.com |
e0d1f9210cd4f8ba4934a059690ecb09bcbd2671 | efb9475381a9723fff13e029ec7e312a721dd52f | /letu_bike_consumer_cms/src/main/java/org/controller/cms/FixedReturnController.java | bd3c9ef39aa4cc3a8f18f91ade437aa0403b410a | [] | no_license | hanqiaosheng/letu-web-html | 2f76ec8d5a08e3bbfd566a006650ff1ead79247e | 0e6dae22b681ea46620fa260bc7a7919b75ba745 | refs/heads/master | 2021-09-09T19:34:43.132011 | 2018-03-19T08:50:30 | 2018-03-19T08:50:30 | 125,819,631 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 19,191 | java | package org.controller.cms;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.component.AppConfig;
import org.entity.dto.Admin;
import org.entity.dto.Channel;
import org.entity.dto.FixedReturn;
import org.entity.dto.Models;
import org.entity.dto.OperateLog;
import org.entity.dto.RentPrice;
import org.service.cms.read.AdminServiceRead;
import org.service.cms.read.BlockServiceRead;
import org.service.cms.read.ChannelServiceRead;
import org.service.cms.read.FixedReturnServiceRead;
import org.service.cms.read.ModelsServiceRead;
import org.service.cms.read.RentPriceServiceRead;
import org.service.cms.write.BlockServiceWrite;
import org.service.cms.write.FixedReturnServiceWrite;
import org.service.cms.write.ModelsServiceWrite;
import org.service.cms.write.OperateServiceWrite;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.util.BlockUtil;
import org.util.OperateUtil;
import org.util.SplitUtil;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
/**管理员
*
* @author Administrator
*
*/
@Controller
@Scope("prototype")
@RequestMapping("cms/fixedReturn")
public class FixedReturnController {
@Resource
FixedReturnServiceRead fixedReturnServiceRead;
@Resource
FixedReturnServiceWrite fixedReturnServiceWrite;
@Resource
ChannelServiceRead channelServiceRead;
@Resource
ModelsServiceRead modelsServiceRead;
@Resource
ModelsServiceWrite modelsServiceWrite;
@Resource
BlockServiceWrite blockServiceWrite;
@Resource
AdminServiceRead adminServiceRead;
@Resource
BlockServiceRead blockServiceRead;
@Resource
OperateServiceWrite operateServiceWrite;
@Resource
RentPriceServiceRead rentPriceServiceRead;
@Resource
AppConfig appConfig;
/**
* 还车点列表
* @param session
* @param model
* @param pageIndex
* @param name
* @param channelName
* @return
* @throws Exception
*/
@RequestMapping("fixedReturnList")
public String fixedReturnList(HttpSession session,Model model,@RequestParam(defaultValue="1")Integer pageIndex,String name, String channelName) throws Exception{
Long channelId = (Long) session.getAttribute("currChannelId");
List<FixedReturn> fixedReturnList = new ArrayList<FixedReturn>();
Integer totalPage = 0;
if(channelId==null){
fixedReturnList = fixedReturnServiceRead.findAllFixed(pageIndex,appConfig.getPage_size_web(),name,channelName,null);
totalPage = fixedReturnServiceRead.countAllFixed(name,channelName,null);
}else{
Channel channel =channelServiceRead.findById(channelId);
List<Channel> channels1 = channelServiceRead.findSonChannels(channelId);
channels1.add(channel);
List<Long> currChannelIds = new ArrayList<Long>();
for(Channel c:channels1){
currChannelIds.add(c.getChannelId());
}
fixedReturnList = fixedReturnServiceRead.findAllFixed(pageIndex,appConfig.getPage_size_web(),name,channelName,currChannelIds);
totalPage = fixedReturnServiceRead.countAllFixed(name,channelName,currChannelIds);
}
if(totalPage==0){
totalPage = 1;
}
model.addAttribute("pageIndex", pageIndex);
model.addAttribute("fixedReturnList", fixedReturnList);
model.addAttribute("totalPage", totalPage);
model.addAttribute("channelName", channelName);
model.addAttribute("name", name);
return "fixedReturn_list";
}
/**
* 还车点详情
* @param model
* @param fixedReturnId
* @return
* @throws Exception
*/
@RequestMapping("fixedReturnDetail")
public String fixedReturnDetail(Model model,Long fixedReturnId) throws Exception{
FixedReturn fixedReturn = fixedReturnServiceRead.findFixedById(fixedReturnId);
List<RentPrice> prices = new ArrayList<RentPrice>();
if(null!=fixedReturn.getFixedReturnModelsId()&&!fixedReturn.getFixedReturnModelsId().equals("")){
String[] split = SplitUtil.toSplit(fixedReturn.getFixedReturnModelsId());
List<Models> list = new ArrayList<Models>();
for(int i=0;i<split.length;i++){
if(!split[i].equals("null")){
Models models = modelsServiceRead.findModelsById(Long.valueOf(split[i]));
if(null!=models){
prices = rentPriceServiceRead.findRentPriceByModelsId(models.getModelsId());
if(prices.size()>0){
for(RentPrice rp : prices){
List<JSONObject> strList = new ArrayList<JSONObject>();//租赁费用列表
JSONArray jsonArray = JSONArray.fromObject(rp.getRentPrice());
for (int j = 0; j < jsonArray.size(); j++) {
JSONObject jsonObject = (JSONObject) jsonArray.get(j);
if(jsonObject.optDouble("fromTime",-1)!=-1){
strList.add(jsonObject);
}else{
rp.setLastPrice(jsonObject.getDouble("rentPrice"));//最后时间段
}
}
rp.setPriceList(strList);
}
}
models.setModelRentPriceList(prices);
list.add(models);
}
}
}
fixedReturn.setModels(list);
}
Channel channel = channelServiceRead.findById(fixedReturn.getFixedReturnChannelId());
model.addAttribute("fixedReturn", fixedReturn);
model.addAttribute("channel", channel);
return "detail/fixedReturn_detail";
}
/**
* 跳转添加页面
* @param model
* @param session
* @return
* @throws Exception
*/
@RequestMapping("fixedReturnAddJsp")
public String fixedReturnAddJsp(Model model,HttpSession session) throws Exception{
Long currChannelId = (Long) session.getAttribute("currChannelId");
List<Channel> channelList = new ArrayList<Channel>();
if(currChannelId==null){ //如果是管理员
channelList = channelServiceRead.findAllChannelNotfreeze(null);
}else{
Channel channel =channelServiceRead.findById(currChannelId);
List<Channel> channels = channelServiceRead.findSonChannels(currChannelId);
channels.add(channel);
List<Long> currChannelIds = new ArrayList<Long>();
for(Channel c:channels){
currChannelIds.add(c.getChannelId());
}
channelList = channelServiceRead.findAllChannelNotfreeze(currChannelIds);
}
model.addAttribute("url", appConfig.getBase_path_web());
model.addAttribute("channelList", channelList);
return "detail/fixedReturn_add";
}
/**
* 添加
* @param session
* @param fixedReturn
* @param latlng
* @return
* @throws Exception
*/
@RequestMapping("fixedReturnAdd")
public String fixedReturnAdd(HttpSession session ,FixedReturn fixedReturn,String latlng) throws Exception{
Admin admin = (Admin)session.getAttribute("admin");
Admin nowAdmin = adminServiceRead.findAdminId(admin.getAdminId());
if(null!=latlng&&!latlng.equals(",")&&!latlng.equals("")){
String blockCode=BlockUtil.getBlockCode(latlng);
/*Long blockputId = blockServiceRead.findBlockId(blockCode);
if(blockputId!=null){
fixedReturn.setFixedReturnBlockId(blockputId);
}*/
fixedReturn.setFixedReturnBlock(blockCode);
String [] splitLatLng=latlng.split(",|,");
double lng =Double.parseDouble(splitLatLng[0]);
double lat =Double.parseDouble(splitLatLng[1]);
fixedReturn.setFixedReturnLat(lat);
fixedReturn.setFixedReturnLng(lng);
}
fixedReturn.setFixedReturnCreatetime(new Date());
fixedReturn.setFixedReturnAdminId(admin.getAdminId());
Long fixedReturnId = fixedReturnServiceWrite.addFixedReturn(fixedReturn);
OperateLog operateLog = new OperateLog();
operateLog.setOperateTime(new Date());
operateLog.setOperateAdminId(nowAdmin.getAdminId());
String remark = OperateUtil.operateBike(nowAdmin.getAdminRealname(), 12, null, null, fixedReturnId);
operateLog.setOperateRemark(remark);
operateServiceWrite.addOperateLogs(operateLog);//操作日志
return "redirect:fixedReturnList.action";
}
/**
* 跳转编辑页面
* @param session
* @param model
* @param fixedReturnId
* @return
* @throws Exception
*/
@RequestMapping("fixedReturnEditJsp")
public String fixedReturnEditJsp(HttpSession session,Model model,Long fixedReturnId) throws Exception{
FixedReturn fixedReturn = fixedReturnServiceRead.findFixedById(fixedReturnId);
Long currChannelId = (Long) session.getAttribute("currChannelId");
List<Channel> channelList = new ArrayList<Channel>();
if(currChannelId==null){ //如果是管理员
channelList = channelServiceRead.findAllChannelNotfreeze(null);
}else{
Channel channel =channelServiceRead.findById(currChannelId);
List<Channel> channels = channelServiceRead.findSonChannels(currChannelId);
channels.add(channel);
List<Long> currChannelIds = new ArrayList<Long>();
for(Channel c:channels){
currChannelIds.add(c.getChannelId());
}
channelList = channelServiceRead.findAllChannelNotfreeze(currChannelIds);
}
model.addAttribute("channelList", channelList);
model.addAttribute("fixedReturn", fixedReturn);
return "detail/fixedReturn_edit";
}
/**
* 编辑
* @param fixedReturn
* @param latlng
* @param session
* @return
* @throws Exception
*/
@RequestMapping("fixedReturnEdit")
public String fixedReturnEdit(FixedReturn fixedReturn,String latlng,HttpSession session) throws Exception{
Admin admin = (Admin)session.getAttribute("admin");
Admin nowAdmin = adminServiceRead.findAdminId(admin.getAdminId());
if(null!=latlng&&!latlng.equals(",")&&!latlng.equals("")){
String blockCode=BlockUtil.getBlockCode(latlng);
/*Long blockputId = blockServiceRead.findBlockId(blockCode);
if(blockputId!=null){
fixedReturn.setFixedReturnBlockId(blockputId);
}*/
fixedReturn.setFixedReturnBlock(blockCode);
String [] splitLatLng=latlng.split(",|,");
double lng =Double.parseDouble(splitLatLng[0]);
double lat =Double.parseDouble(splitLatLng[1]);
fixedReturn.setFixedReturnLat(lat);
fixedReturn.setFixedReturnLng(lng);
}
fixedReturnServiceWrite.editFixedReturn(fixedReturn);
OperateLog operateLog = new OperateLog();
operateLog.setOperateTime(new Date());
operateLog.setOperateAdminId(nowAdmin.getAdminId());
String remark = OperateUtil.operateBike(nowAdmin.getAdminRealname(), 13, null, null, fixedReturn.getFixedReturnId());
operateLog.setOperateRemark(remark);
operateServiceWrite.addOperateLogs(operateLog);//操作日志
return "redirect:fixedReturnList.action";
}
/**
* 删除
* @param fixedReturn
* @param session
* @return
* @throws Exception
*/
@RequestMapping("fixedReturnDelete")
public @ResponseBody String fixedReturnDelete(FixedReturn fixedReturn,HttpSession session) throws Exception{
Admin admin = (Admin)session.getAttribute("admin");
Admin nowAdmin = adminServiceRead.findAdminId(admin.getAdminId());
FixedReturn fixedReturn1 = fixedReturnServiceRead.findFixedById(fixedReturn.getFixedReturnId());
if(null!=fixedReturn1.getFixedReturnModelsId()&&!fixedReturn1.getFixedReturnModelsId().equals("")){
String[] ModelsIds = SplitUtil.toSplit(fixedReturn1.getFixedReturnModelsId());
for(int k=0;k<ModelsIds.length;k++){
Models models = modelsServiceRead.findModelsById(Long.valueOf(ModelsIds[k]));
String fixedStr = "";
String[] split = SplitUtil.toSplit(models.getModelsFixedReturn());
List<String> list = new ArrayList<String>();
for(int i=0;i<split.length;i++){
list.add(split[i]);
}
for(int j=0;j<list.size();j++){
if(Long.valueOf(list.get(j)).equals(fixedReturn.getFixedReturnId())){
list.remove(j);
j--;
}
}
for(String str : list){
fixedStr = fixedStr +","+ str;
}
if(!fixedStr.equals("")){
fixedStr = fixedStr.substring(1);
}
models.setModelsFixedReturn(fixedStr);
modelsServiceWrite.updateModels(models);
}
}
fixedReturn.setFixedReturnState(0);
fixedReturnServiceWrite.editFixedReturn(fixedReturn);
OperateLog operateLog = new OperateLog();
operateLog.setOperateTime(new Date());
operateLog.setOperateAdminId(nowAdmin.getAdminId());
String remark = OperateUtil.operateBike(nowAdmin.getAdminRealname(), 14, null, null, fixedReturn.getFixedReturnId());
operateLog.setOperateRemark(remark);
operateServiceWrite.addOperateLogs(operateLog);//操作日志
return "success";
}
/**
* 还车点审核列表
* @param session
* @param model
* @param pageIndex
* @param name
* @return
* @throws Exception
*/
@RequestMapping("fixedCheckList")
public String fixedCheckList(HttpSession session,Model model,@RequestParam(defaultValue="1")Integer pageIndex,String name) throws Exception{
Long channelId = (Long) session.getAttribute("currChannelId");
List<FixedReturn> fixedCheckList = new ArrayList<FixedReturn>();
Integer totalPage = 0;
if(channelId==null){
fixedCheckList = fixedReturnServiceRead.findAllCheckFixed(pageIndex,appConfig.getPage_size_web(),name,null);
totalPage = fixedReturnServiceRead.countAllCheckFixed(name,null);
}else{
Channel channel =channelServiceRead.findById(channelId);
List<Channel> channels1 = channelServiceRead.findSonChannels(channelId);
channels1.add(channel);
List<Long> currChannelIds = new ArrayList<Long>();
for(Channel c:channels1){
currChannelIds.add(c.getChannelId());
}
fixedCheckList = fixedReturnServiceRead.findAllCheckFixed(pageIndex,appConfig.getPage_size_web(),name,currChannelIds);
totalPage = fixedReturnServiceRead.countAllCheckFixed(name,currChannelIds);
}
if(totalPage==0){
totalPage = 1;
}
for(FixedReturn fr : fixedCheckList){
Admin admin = adminServiceRead.findAdminId(fr.getFixedReturnOriginatorId());
fr.setFixedReturnOriginator(admin.getAdminRealname());
}
model.addAttribute("pageIndex", pageIndex);
model.addAttribute("fixedCheckList", fixedCheckList);
model.addAttribute("totalPage", totalPage);
model.addAttribute("name", name);
return "fixedCheck_list";
}
/**
* 位置
* @param fixedReturnId
* @param model
* @return
* @throws Exception
*/
@RequestMapping("fixedPosition")
public String fixedPosition(Long fixedReturnId,Model model)throws Exception{
FixedReturn fixedReturn = fixedReturnServiceRead.findFixedById(fixedReturnId);
model.addAttribute("fixedReturn", fixedReturn);
return "detail/fixed_position";
}
/**
* 审核
* @param fixedReturnId
* @param model
* @param state
* @param session
* @return
* @throws Exception
*/
@RequestMapping("toCheck")
public @ResponseBody String toCheck(Long fixedReturnId,Model model,Integer state,HttpSession session)throws Exception{
Admin admin = (Admin)session.getAttribute("admin");
Admin nowAdmin = adminServiceRead.findAdminId(admin.getAdminId());
FixedReturn fixedReturn = fixedReturnServiceRead.findFixedById(fixedReturnId);
fixedReturn.setFixedReturnState(state);
fixedReturnServiceWrite.editFixedReturn(fixedReturn);
OperateLog operateLog = new OperateLog();
operateLog.setOperateTime(new Date());
operateLog.setOperateAdminId(nowAdmin.getAdminId());
String remark = OperateUtil.operateBike(nowAdmin.getAdminRealname(), 16, null, null, fixedReturn.getFixedReturnId());
operateLog.setOperateRemark(remark);
operateServiceWrite.addOperateLogs(operateLog);//操作日志
return "success";
}
/**
* 跳转完善页面
* @param fixedReturnId
* @param model
* @param session
* @return
* @throws Exception
*/
@RequestMapping("perfectDetailJsp")
public String perfectDetailJsp(Long fixedReturnId,Model model,HttpSession session)throws Exception{
FixedReturn fixedReturn = fixedReturnServiceRead.findFixedById(fixedReturnId);
Long currChannelId = (Long) session.getAttribute("currChannelId");
List<Channel> channelList = new ArrayList<Channel>();
if(currChannelId==null){ //如果是管理员
channelList = channelServiceRead.findAllChannelNotfreeze(null);
}else{
Channel channel =channelServiceRead.findById(currChannelId);
List<Channel> channels = channelServiceRead.findSonChannels(currChannelId);
channels.add(channel);
List<Long> currChannelIds = new ArrayList<Long>();
for(Channel c:channels){
currChannelIds.add(c.getChannelId());
}
channelList = channelServiceRead.findAllChannelNotfreeze(currChannelIds);
}
model.addAttribute("channelList", channelList);
model.addAttribute("fixedReturn", fixedReturn);
return "detail/perfect_fixed_edit";
}
/**
* 完善信息
* @param fixedReturn
* @param model
* @param session
* @param latlng
* @return
* @throws Exception
*/
@RequestMapping("perfectDetail")
public String perfectDetail(FixedReturn fixedReturn,Model model,HttpSession session,String latlng)throws Exception{
Admin admin = (Admin)session.getAttribute("admin");
Admin nowAdmin = adminServiceRead.findAdminId(admin.getAdminId());
if(null!=latlng&&!latlng.equals(",")&&!latlng.equals("")){
String blockCode=BlockUtil.getBlockCode(latlng);
Long blockputId = blockServiceRead.findBlockId(blockCode);
if(blockputId!=null){
fixedReturn.setFixedReturnBlockId(blockputId);
}
String [] splitLatLng=latlng.split(",|,");
double lng =Double.parseDouble(splitLatLng[0]);
double lat =Double.parseDouble(splitLatLng[1]);
fixedReturn.setFixedReturnLat(lat);
fixedReturn.setFixedReturnLng(lng);
}
fixedReturn.setFixedReturnAdminId(admin.getAdminId());
fixedReturn.setFixedReturnCreatetime(new Date());
fixedReturn.setFixedReturnState(1);
fixedReturnServiceWrite.editFixedReturn(fixedReturn);
OperateLog operateLog = new OperateLog();
operateLog.setOperateTime(new Date());
operateLog.setOperateAdminId(nowAdmin.getAdminId());
String remark = OperateUtil.operateBike(nowAdmin.getAdminRealname(), 15, null, null, fixedReturn.getFixedReturnId());
operateLog.setOperateRemark(remark);
operateServiceWrite.addOperateLogs(operateLog);//操作日志
return "redirect:fixedCheckList.action";
}
/**
* 获取站点
* @param modelsId
* @return
* @throws Exception
*/
@RequestMapping("getFixed")
public @ResponseBody List<FixedReturn> getFixed(Long modelsId)throws Exception{
if(modelsId!=-1){
Models models = modelsServiceRead.findModelsById(modelsId);
List<FixedReturn> fixedReturns = new ArrayList<FixedReturn>();
if(null!=models.getModelsFixedReturn()&&!models.getModelsFixedReturn().equals("")){
String[] split = SplitUtil.toSplit(models.getModelsFixedReturn());
for(int i=0;i<split.length;i++){
FixedReturn fixedReturn = fixedReturnServiceRead.findFixedById(Long.valueOf(split[i]));
fixedReturns.add(fixedReturn);
}
}
if(fixedReturns.size()>0){
return fixedReturns;
}
}
return null;
}
/**
* 通过渠道获取站点
* @param channelId
* @return
* @throws Exception
*/
@RequestMapping("getFixedByChannelId")
public @ResponseBody List<FixedReturn> getFixedByChannelId(Long channelId)throws Exception{
if(channelId!=-1){
List<FixedReturn> fixedReturnList = fixedReturnServiceRead.findFixedByChannelId(channelId);
if(fixedReturnList.size()>0){
return fixedReturnList;
}
}
return null;
}
}
| [
"896965531@qq.com"
] | 896965531@qq.com |
4a0f40680ccf2481ecb87e6b32dc5c5f56ddd8cd | 3cee619f9d555e75625bfff889ae5c1394fd057a | /app/src/main/java/org/tensorflow/lite/examples/imagesegmentation/p000a/p013b/p020e/p028g/C0239g.java | 6c67262a66c86c1a2646a061a84d0b9406704163 | [] | no_license | randauto/imageerrortest | 6fe12d92279e315e32409e292c61b5dc418f8c2b | 06969c68b9d82ed1c366d8b425c87c61db933f15 | refs/heads/master | 2022-04-21T18:21:56.836502 | 2020-04-23T16:18:49 | 2020-04-23T16:18:49 | 258,261,084 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 618 | java | package p000a.p013b.p020e.p028g;
import java.util.concurrent.Callable;
/* renamed from: a.b.e.g.g */
/* compiled from: ScheduledDirectTask */
public final class C0239g extends C0226a implements Callable<Void> {
private static final long serialVersionUID = 1811839108042568751L;
public C0239g(Runnable runnable) {
super(runnable);
}
/* renamed from: b */
public Void call() {
this.f436b = Thread.currentThread();
try {
this.f435a.run();
return null;
} finally {
lazySet(f433c);
this.f436b = null;
}
}
}
| [
"tuanlq@funtap.vn"
] | tuanlq@funtap.vn |
a27dbc522ab55aa3378aeabbb4e1ccfab245f3fa | 61ba05554d9cdf03cf7dbcb3af857ed5b09e28e9 | /src/main/java/com/example/demo/src/community/model/PostCommunityReq.java | ef8ac785697fa222b2d41332675f6c6a1318a049 | [
"Apache-2.0"
] | permissive | mock-rp3/rp3_test_server_carrot_fullmoon | 386831aa5ed9e09f159526a142ef9c087c6721a7 | 384390f0c8aed37bbe8ddc5e4e6085b9c196a222 | refs/heads/main | 2023-07-20T20:14:28.868445 | 2021-09-03T04:10:37 | 2021-09-03T04:10:37 | 395,616,835 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 306 | java | package com.example.demo.src.community.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@AllArgsConstructor
public class PostCommunityReq {
public String description;
public int categoryId;
public int regionId;
public int userInfoId;
}
| [
"jiyoon.jang.dev@gmail.com"
] | jiyoon.jang.dev@gmail.com |
a21ca3078921dc7900d7a5e0a8ab1d694fa2ee26 | 28ffadb209773d01f0d298f7746eae3c0389d738 | /design_patterns/29_DAO Pattern/StudentDaoImpl.java | 6274b81752c362283ea204d4da7c8a481645560c | [
"MIT"
] | permissive | miku-wwl/software-design-patterns | 04405b00e226363d838a1d55286bc4dd4f2ad3ab | cc1b708d4ab4cfdb9b3ff531d877f956247ddf70 | refs/heads/main | 2023-03-19T15:19:59.240507 | 2021-03-15T08:56:43 | 2021-03-15T08:56:43 | 336,149,715 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,030 | java | import java.util.ArrayList;
import java.util.List;
public class StudentDaoImpl implements StudentDao{
List<Student> students;
public StudentDaoImpl(){
students = new ArrayList<Student>();
Student student1 = new Student("Robert",0);
Student student2 = new Student("John",1);
students.add(student1);
students.add(student2);
}
@Override
public List<Student> getAllStudents() {
return students;
}
@Override
public Student getStudent(int rollNo) {
return students.get(rollNo);
}
@Override
public void updateStudent(Student student) {
students.get(student.getRollNo()).setName(student.getName());
System.out.println("Student: Roll No " + student.getRollNo()+ ", updated in the database");
}
@Override
public void deleteStudent(Student student) {
students.remove(student.getRollNo());
System.out.println("Student: Roll No "+ student.getRollNo() + ", deleted from database");
}
}
| [
"38804125+miku-wwl@users.noreply.github.com"
] | 38804125+miku-wwl@users.noreply.github.com |
5d195df90256f73aa66f9f0562c71160f9b94506 | 311f1237e7498e7d1d195af5f4bcd49165afa63a | /sourcedata/poi-REL_2_5_1/src/scratchpad/src/org/apache/poi/hdf/model/util/BTreeSet.java | d37a4b597ff8e95fed74d4eec2eaa03c7cd5be11 | [
"Apache-2.0"
] | permissive | DXYyang/SDP | 86ee0e9fb7032a0638b8bd825bcf7585bccc8021 | 6ad0daf242d4062888ceca6d4a1bd4c41fd99b63 | refs/heads/master | 2023-01-11T02:29:36.328694 | 2019-11-02T09:38:34 | 2019-11-02T09:38:34 | 219,128,146 | 10 | 1 | Apache-2.0 | 2023-01-02T21:53:42 | 2019-11-02T08:54:26 | Java | UTF-8 | Java | false | false | 30,062 | java |
/* ====================================================================
Copyright 2002-2004 Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
package org.apache.poi.hdf.model.util;
import java.util.*;
import org.apache.poi.hdf.model.hdftypes.PropertyNode;
/*
* A B-Tree like implementation of the java.util.Set inteface. This is a modifiable set
* and thus allows elements to be added and removed. An instance of java.util.Comparator
* must be provided at construction else all Objects added to the set must implement
* java.util.Comparable and must be comparable to one another. No duplicate elements
* will be allowed in any BTreeSet in accordance with the specifications of the Set interface.
* Any attempt to add a null element will result in an IllegalArgumentException being thrown.
* The java.util.Iterator returned by the iterator method guarantees the elements returned
* are in ascending order. The Iterator.remove() method is supported.
* Comment me
*
* @author Ryan Ackley
*
*/
public class BTreeSet extends AbstractSet
{
/*
* Instance Variables
*/
public BTreeNode root;
private Comparator comparator = null;
private int order;
private int size = 0;
/*
* Constructors
* A no-arg constructor is supported in accordance with the specifications of the
* java.util.Collections interface. If the order for the B-Tree is not specified
* at construction it defaults to 32.
*/
public BTreeSet()
{
this(6); // Default order for a BTreeSet is 32
}
public BTreeSet(Collection c)
{
this(6); // Default order for a BTreeSet is 32
addAll(c);
}
public BTreeSet(int order)
{
this(order, null);
}
public BTreeSet(int order, Comparator comparator)
{
this.order = order;
this.comparator = comparator;
root = new BTreeNode(null);
}
/*
* Public Methods
*/
public boolean add(Object x) throws IllegalArgumentException
{
if (x == null) throw new IllegalArgumentException();
return root.insert(x, -1);
}
public boolean contains(Object x)
{
return root.includes(x);
}
public boolean remove(Object x)
{
if (x == null) return false;
return root.delete(x, -1);
}
public int size()
{
return size;
}
public void clear()
{
root = new BTreeNode(null);
size = 0;
}
public java.util.Iterator iterator()
{
return new Iterator();
}
public static ArrayList findProperties(int start, int end, BTreeSet.BTreeNode root)
{
ArrayList results = new ArrayList();
BTreeSet.Entry[] entries = root.entries;
for(int x = 0; x < entries.length; x++)
{
if(entries[x] != null)
{
BTreeSet.BTreeNode child = entries[x].child;
PropertyNode xNode = (PropertyNode)entries[x].element;
if(xNode != null)
{
int xStart = xNode.getStart();
int xEnd = xNode.getEnd();
if(xStart < end)
{
if(xStart >= start)
{
if(child != null)
{
ArrayList beforeItems = findProperties(start, end, child);
results.addAll(beforeItems);
}
results.add(xNode);
}
else if(start < xEnd)
{
results.add(xNode);
//break;
}
}
else
{
if(child != null)
{
ArrayList beforeItems = findProperties(start, end, child);
results.addAll(beforeItems);
}
break;
}
}
else if(child != null)
{
ArrayList afterItems = findProperties(start, end, child);
results.addAll(afterItems);
}
}
else
{
break;
}
}
return results;
}
/*
* Private methods
*/
private int compare(Object x, Object y)
{
return (comparator == null ? ((Comparable)x).compareTo(y) : comparator.compare(x, y));
}
/*
* Inner Classes
*/
/*
* Guarantees that the Objects are returned in ascending order. Due to the volatile
* structure of a B-Tree (many splits, steals and merges can happen in a single call to remove)
* this Iterator does not attempt to track any concurrent changes that are happening to
* it's BTreeSet. Therefore, after every call to BTreeSet.remove or BTreeSet.add a new
* Iterator should be constructed. If no new Iterator is constructed than there is a
* chance of receiving a NullPointerException. The Iterator.delete method is supported.
*/
private class Iterator implements java.util.Iterator
{
private int index = 0;
private Stack parentIndex = new Stack(); // Contains all parentIndicies for currentNode
private Object lastReturned = null;
private Object next;
private BTreeNode currentNode;
Iterator()
{
currentNode = firstNode();
next = nextElement();
}
public boolean hasNext()
{
return next != null;
}
public Object next()
{
if (next == null) throw new NoSuchElementException();
lastReturned = next;
next = nextElement();
return lastReturned;
}
public void remove()
{
if (lastReturned == null) throw new NoSuchElementException();
BTreeSet.this.remove(lastReturned);
lastReturned = null;
}
private BTreeNode firstNode()
{
BTreeNode temp = BTreeSet.this.root;
while (temp.entries[0].child != null)
{
temp = temp.entries[0].child;
parentIndex.push(new Integer(0));
}
return temp;
}
private Object nextElement()
{
if (currentNode.isLeaf())
{
if (index < currentNode.nrElements) return currentNode.entries[index++].element;
else if (!parentIndex.empty())
{ //All elements have been returned, return successor of lastReturned if it exists
currentNode = currentNode.parent;
index = ((Integer)parentIndex.pop()).intValue();
while (index == currentNode.nrElements)
{
if (parentIndex.empty()) break;
currentNode = currentNode.parent;
index = ((Integer)parentIndex.pop()).intValue();
}
if (index == currentNode.nrElements) return null; //Reached root and he has no more children
return currentNode.entries[index++].element;
}
else
{ //Your a leaf and the root
if (index == currentNode.nrElements) return null;
return currentNode.entries[index++].element;
}
}
else
{ //Your not a leaf so simply find and return the successor of lastReturned
currentNode = currentNode.entries[index].child;
parentIndex.push(new Integer(index));
while (currentNode.entries[0].child != null)
{
currentNode = currentNode.entries[0].child;
parentIndex.push(new Integer(0));
}
index = 1;
return currentNode.entries[0].element;
}
}
}
public static class Entry
{
public Object element;
public BTreeNode child;
}
public class BTreeNode
{
public Entry[] entries;
public BTreeNode parent;
private int nrElements = 0;
private final int MIN = (BTreeSet.this.order - 1) / 2;
BTreeNode(BTreeNode parent)
{
this.parent = parent;
entries = new Entry[BTreeSet.this.order];
entries[0] = new Entry();
}
boolean insert(Object x, int parentIndex)
{
if (isFull())
{ // If full, you must split and promote splitNode before inserting
Object splitNode = entries[nrElements / 2].element;
BTreeNode rightSibling = split();
if (isRoot())
{ // Grow a level
splitRoot(splitNode, this, rightSibling);
// Determine where to insert
if (BTreeSet.this.compare(x, BTreeSet.this.root.entries[0].element) < 0) insert(x, 0);
else rightSibling.insert(x, 1);
}
else
{ // Promote splitNode
parent.insertSplitNode(splitNode, this, rightSibling, parentIndex);
if (BTreeSet.this.compare(x, parent.entries[parentIndex].element) < 0) return insert(x, parentIndex);
else return rightSibling.insert(x, parentIndex + 1);
}
}
else if (isLeaf())
{ // If leaf, simply insert the non-duplicate element
int insertAt = childToInsertAt(x, true);
if (insertAt == -1) return false; // Determine if the element already exists
else
{
insertNewElement(x, insertAt);
BTreeSet.this.size++;
return true;
}
}
else
{ // If not full and not leaf recursively find correct node to insert at
int insertAt = childToInsertAt(x, true);
return (insertAt == -1 ? false : entries[insertAt].child.insert(x, insertAt));
}
return false;
}
boolean includes(Object x)
{
int index = childToInsertAt(x, true);
if (index == -1) return true;
if (entries[index] == null || entries[index].child == null) return false;
return entries[index].child.includes(x);
}
boolean delete(Object x, int parentIndex)
{
int i = childToInsertAt(x, true);
int priorParentIndex = parentIndex;
BTreeNode temp = this;
if (i != -1)
{
do
{
if (temp.entries[i] == null || temp.entries[i].child == null) return false;
temp = temp.entries[i].child;
priorParentIndex = parentIndex;
parentIndex = i;
i = temp.childToInsertAt(x, true);
} while (i != -1);
} // Now temp contains element to delete and temp's parentIndex is parentIndex
if (temp.isLeaf())
{ // If leaf and have more than MIN elements, simply delete
if (temp.nrElements > MIN)
{
temp.deleteElement(x);
BTreeSet.this.size--;
return true;
}
else
{ // If leaf and have less than MIN elements, than prepare the BTreeSet for deletion
temp.prepareForDeletion(parentIndex);
temp.deleteElement(x);
BTreeSet.this.size--;
temp.fixAfterDeletion(priorParentIndex);
return true;
}
}
else
{ // Only delete at leaf so first switch with successor than delete
temp.switchWithSuccessor(x);
parentIndex = temp.childToInsertAt(x, false) + 1;
return temp.entries[parentIndex].child.delete(x, parentIndex);
}
}
private boolean isFull() { return nrElements == (BTreeSet.this.order - 1); }
private boolean isLeaf() { return entries[0].child == null; }
private boolean isRoot() { return parent == null; }
/*
* Splits a BTreeNode into two BTreeNodes, removing the splitNode from the
* calling BTreeNode.
*/
private BTreeNode split()
{
BTreeNode rightSibling = new BTreeNode(parent);
int index = nrElements / 2;
entries[index++].element = null;
for (int i = 0, nr = nrElements; index <= nr; i++, index++)
{
rightSibling.entries[i] = entries[index];
if (rightSibling.entries[i] != null && rightSibling.entries[i].child != null)
rightSibling.entries[i].child.parent = rightSibling;
entries[index] = null;
nrElements--;
rightSibling.nrElements++;
}
rightSibling.nrElements--; // Need to correct for copying the last Entry which has a null element and a child
return rightSibling;
}
/*
* Creates a new BTreeSet.root which contains only the splitNode and pointers
* to it's left and right child.
*/
private void splitRoot(Object splitNode, BTreeNode left, BTreeNode right)
{
BTreeNode newRoot = new BTreeNode(null);
newRoot.entries[0].element = splitNode;
newRoot.entries[0].child = left;
newRoot.entries[1] = new Entry();
newRoot.entries[1].child = right;
newRoot.nrElements = 1;
left.parent = right.parent = newRoot;
BTreeSet.this.root = newRoot;
}
private void insertSplitNode(Object splitNode, BTreeNode left, BTreeNode right, int insertAt)
{
for (int i = nrElements; i >= insertAt; i--) entries[i + 1] = entries[i];
entries[insertAt] = new Entry();
entries[insertAt].element = splitNode;
entries[insertAt].child = left;
entries[insertAt + 1].child = right;
nrElements++;
}
private void insertNewElement(Object x, int insertAt)
{
for (int i = nrElements; i > insertAt; i--) entries[i] = entries[i - 1];
entries[insertAt] = new Entry();
entries[insertAt].element = x;
nrElements++;
}
/*
* Possibly a deceptive name for a pretty cool method. Uses binary search
* to determine the postion in entries[] in which to traverse to find the correct
* BTreeNode in which to insert a new element. If the element exists in the calling
* BTreeNode than -1 is returned. When the parameter position is true and the element
* is present in the calling BTreeNode -1 is returned, if position is false and the
* element is contained in the calling BTreeNode than the position of the element
* in entries[] is returned.
*/
private int childToInsertAt(Object x, boolean position)
{
int index = nrElements / 2;
if (entries[index] == null || entries[index].element == null) return index;
int lo = 0, hi = nrElements - 1;
while (lo <= hi)
{
if (BTreeSet.this.compare(x, entries[index].element) > 0)
{
lo = index + 1;
index = (hi + lo) / 2;
}
else
{
hi = index - 1;
index = (hi + lo) / 2;
}
}
hi++;
if (entries[hi] == null || entries[hi].element == null) return hi;
return (!position ? hi : BTreeSet.this.compare(x, entries[hi].element) == 0 ? -1 : hi);
}
private void deleteElement(Object x)
{
int index = childToInsertAt(x, false);
for (; index < (nrElements - 1); index++) entries[index] = entries[index + 1];
if (nrElements == 1) entries[index] = new Entry(); // This is root and it is empty
else entries[index] = null;
nrElements--;
}
private void prepareForDeletion(int parentIndex)
{
if (isRoot()) return; // Don't attempt to steal or merge if your the root
// If not root then try to steal left
else if (parentIndex != 0 && parent.entries[parentIndex - 1].child.nrElements > MIN)
{
stealLeft(parentIndex);
return;
}
// If not root and can't steal left try to steal right
else if (parentIndex < entries.length && parent.entries[parentIndex + 1] != null && parent.entries[parentIndex + 1].child != null && parent.entries[parentIndex + 1].child.nrElements > MIN)
{
stealRight(parentIndex);
return;
}
// If not root and can't steal left or right then try to merge left
else if (parentIndex != 0) {
mergeLeft(parentIndex);
return;
}
// If not root and can't steal left or right and can't merge left you must be able to merge right
else mergeRight(parentIndex);
}
private void fixAfterDeletion(int parentIndex)
{
if (isRoot() || parent.isRoot()) return; // No fixing needed
if (parent.nrElements < MIN)
{ // If parent lost it's n/2 element repair it
BTreeNode temp = parent;
temp.prepareForDeletion(parentIndex);
if (temp.parent == null) return; // Root changed
if (!temp.parent.isRoot() && temp.parent.nrElements < MIN)
{ // If need be recurse
BTreeNode x = temp.parent.parent;
int i = 0;
// Find parent's parentIndex
for (; i < entries.length; i++) if (x.entries[i].child == temp.parent) break;
temp.parent.fixAfterDeletion(i);
}
}
}
private void switchWithSuccessor(Object x)
{
int index = childToInsertAt(x, false);
BTreeNode temp = entries[index + 1].child;
while (temp.entries[0] != null && temp.entries[0].child != null) temp = temp.entries[0].child;
Object successor = temp.entries[0].element;
temp.entries[0].element = entries[index].element;
entries[index].element = successor;
}
/*
* This method is called only when the BTreeNode has the minimum number of elements,
* has a leftSibling, and the leftSibling has more than the minimum number of elements.
*/
private void stealLeft(int parentIndex)
{
BTreeNode p = parent;
BTreeNode ls = parent.entries[parentIndex - 1].child;
if (isLeaf())
{ // When stealing from leaf to leaf don't worry about children
int add = childToInsertAt(p.entries[parentIndex - 1].element, true);
insertNewElement(p.entries[parentIndex - 1].element, add);
p.entries[parentIndex - 1].element = ls.entries[ls.nrElements - 1].element;
ls.entries[ls.nrElements - 1] = null;
ls.nrElements--;
}
else
{ // Was called recursively to fix an undermanned parent
entries[0].element = p.entries[parentIndex - 1].element;
p.entries[parentIndex - 1].element = ls.entries[ls.nrElements - 1].element;
entries[0].child = ls.entries[ls.nrElements].child;
entries[0].child.parent = this;
ls.entries[ls.nrElements] = null;
ls.entries[ls.nrElements - 1].element = null;
nrElements++;
ls.nrElements--;
}
}
/*
* This method is called only when stealLeft can't be called, the BTreeNode
* has the minimum number of elements, has a rightSibling, and the rightSibling
* has more than the minimum number of elements.
*/
private void stealRight(int parentIndex)
{
BTreeNode p = parent;
BTreeNode rs = p.entries[parentIndex + 1].child;
if (isLeaf())
{ // When stealing from leaf to leaf don't worry about children
entries[nrElements] = new Entry();
entries[nrElements].element = p.entries[parentIndex].element;
p.entries[parentIndex].element = rs.entries[0].element;
for (int i = 0; i < rs.nrElements; i++) rs.entries[i] = rs.entries[i + 1];
rs.entries[rs.nrElements - 1] = null;
nrElements++;
rs.nrElements--;
}
else
{ // Was called recursively to fix an undermanned parent
for (int i = 0; i <= nrElements; i++) entries[i] = entries[i + 1];
entries[nrElements].element = p.entries[parentIndex].element;
p.entries[parentIndex].element = rs.entries[0].element;
entries[nrElements + 1] = new Entry();
entries[nrElements + 1].child = rs.entries[0].child;
entries[nrElements + 1].child.parent = this;
for (int i = 0; i <= rs.nrElements; i++) rs.entries[i] = rs.entries[i + 1];
rs.entries[rs.nrElements] = null;
nrElements++;
rs.nrElements--;
}
}
/*
* This method is called only when stealLeft and stealRight could not be called,
* the BTreeNode has the minimum number of elements, has a leftSibling, and the
* leftSibling has more than the minimum number of elements. If after completion
* parent has fewer than the minimum number of elements than the parents entries[0]
* slot is left empty in anticipation of a recursive call to stealLeft, stealRight,
* mergeLeft, or mergeRight to fix the parent. All of the before-mentioned methods
* expect the parent to be in such a condition.
*/
private void mergeLeft(int parentIndex)
{
BTreeNode p = parent;
BTreeNode ls = p.entries[parentIndex - 1].child;
if (isLeaf())
{ // Don't worry about children
int add = childToInsertAt(p.entries[parentIndex - 1].element, true);
insertNewElement(p.entries[parentIndex - 1].element, add); // Could have been a successor switch
p.entries[parentIndex - 1].element = null;
for (int i = nrElements - 1, nr = ls.nrElements; i >= 0; i--)
entries[i + nr] = entries[i];
for (int i = ls.nrElements - 1; i >= 0; i--)
{
entries[i] = ls.entries[i];
nrElements++;
}
if (p.nrElements == MIN && p != BTreeSet.this.root)
{
for (int x = parentIndex - 1, y = parentIndex - 2; y >= 0; x--, y--)
p.entries[x] = p.entries[y];
p.entries[0] = new Entry();
p.entries[0].child = ls; //So p doesn't think it's a leaf this will be deleted in the next recursive call
}
else
{
for (int x = parentIndex - 1, y = parentIndex; y <= p.nrElements; x++, y++)
p.entries[x] = p.entries[y];
p.entries[p.nrElements] = null;
}
p.nrElements--;
if (p.isRoot() && p.nrElements == 0)
{ // It's the root and it's empty
BTreeSet.this.root = this;
parent = null;
}
}
else
{ // I'm not a leaf but fixing the tree structure
entries[0].element = p.entries[parentIndex - 1].element;
entries[0].child = ls.entries[ls.nrElements].child;
nrElements++;
for (int x = nrElements, nr = ls.nrElements; x >= 0; x--)
entries[x + nr] = entries[x];
for (int x = ls.nrElements - 1; x >= 0; x--)
{
entries[x] = ls.entries[x];
entries[x].child.parent = this;
nrElements++;
}
if (p.nrElements == MIN && p != BTreeSet.this.root)
{ // Push everything to the right
for (int x = parentIndex - 1, y = parentIndex - 2; y >= 0; x++, y++)
{
System.out.println(x + " " + y);
p.entries[x] = p.entries[y];
}
p.entries[0] = new Entry();
}
else
{ // Either p.nrElements > MIN or p == BTreeSet.this.root so push everything to the left
for (int x = parentIndex - 1, y = parentIndex; y <= p.nrElements; x++, y++)
p.entries[x] = p.entries[y];
p.entries[p.nrElements] = null;
}
p.nrElements--;
if (p.isRoot() && p.nrElements == 0)
{ // p == BTreeSet.this.root and it's empty
BTreeSet.this.root = this;
parent = null;
}
}
}
/*
* This method is called only when stealLeft, stealRight, and mergeLeft could not be called,
* the BTreeNode has the minimum number of elements, has a rightSibling, and the
* rightSibling has more than the minimum number of elements. If after completion
* parent has fewer than the minimum number of elements than the parents entries[0]
* slot is left empty in anticipation of a recursive call to stealLeft, stealRight,
* mergeLeft, or mergeRight to fix the parent. All of the before-mentioned methods
* expect the parent to be in such a condition.
*/
private void mergeRight(int parentIndex)
{
BTreeNode p = parent;
BTreeNode rs = p.entries[parentIndex + 1].child;
if (isLeaf())
{ // Don't worry about children
entries[nrElements] = new Entry();
entries[nrElements].element = p.entries[parentIndex].element;
nrElements++;
for (int i = 0, nr = nrElements; i < rs.nrElements; i++, nr++)
{
entries[nr] = rs.entries[i];
nrElements++;
}
p.entries[parentIndex].element = p.entries[parentIndex + 1].element;
if (p.nrElements == MIN && p != BTreeSet.this.root)
{
for (int x = parentIndex + 1, y = parentIndex; y >= 0; x--, y--)
p.entries[x] = p.entries[y];
p.entries[0] = new Entry();
p.entries[0].child = rs; // So it doesn't think it's a leaf, this child will be deleted in the next recursive call
}
else
{
for (int x = parentIndex + 1, y = parentIndex + 2; y <= p.nrElements; x++, y++)
p.entries[x] = p.entries[y];
p.entries[p.nrElements] = null;
}
p.nrElements--;
if (p.isRoot() && p.nrElements == 0)
{ // It's the root and it's empty
BTreeSet.this.root = this;
parent = null;
}
}
else
{ // It's not a leaf
entries[nrElements].element = p.entries[parentIndex].element;
nrElements++;
for (int x = nrElements + 1, y = 0; y <= rs.nrElements; x++, y++)
{
entries[x] = rs.entries[y];
rs.entries[y].child.parent = this;
nrElements++;
}
nrElements--;
p.entries[++parentIndex].child = this;
if (p.nrElements == MIN && p != BTreeSet.this.root)
{
for (int x = parentIndex - 1, y = parentIndex - 2; y >= 0; x--, y--)
p.entries[x] = p.entries[y];
p.entries[0] = new Entry();
}
else
{
for (int x = parentIndex - 1, y = parentIndex; y <= p.nrElements; x++, y++)
p.entries[x] = p.entries[y];
p.entries[p.nrElements] = null;
}
p.nrElements--;
if (p.isRoot() && p.nrElements == 0)
{ // It's the root and it's empty
BTreeSet.this.root = this;
parent = null;
}
}
}
}
}
| [
"512463514@qq.com"
] | 512463514@qq.com |
8aba7fc40b656b536716ebc4af56fd6206fed394 | 964152f589e4205dce6cbd39b95d8c063d899351 | /src/test/java/com/cass/blog/BlogApplicationTests.java | 6ce6b633cd1f6de1629e95643a9a7221833c0121 | [] | no_license | etao82/myBlog | 4db18cd4e434646a24c70225579059b0fbcd0e0a | b60ef7ac6ac1aa6cebeafa622d5620e954111f54 | refs/heads/master | 2022-11-12T00:19:53.636668 | 2020-07-01T10:12:25 | 2020-07-01T10:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 212 | java | package com.cass.blog;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class BlogApplicationTests {
@Test
void contextLoads() {
}
}
| [
"www7718975@hotmail.com"
] | www7718975@hotmail.com |
eb8741ca5d5a93887c7a31fe9b0f5a8d4cd6152d | 22e95c22d4bb66e6ecf6cab0d0e371a12c2c1308 | /src/LeetCode145.java | c1f6d19ec368264a120f13018991d1aa0d2f328d | [] | no_license | yuexiaobai/LeetCode | ebb9e39fbf7f1ecd9ac97c841395fb921c1e30d8 | e9824afb83042d0bc0f4aeb2bc07bfa89389671c | refs/heads/master | 2020-04-13T14:34:36.080998 | 2020-01-03T12:13:49 | 2020-01-03T12:13:49 | 163,267,093 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,580 | java | import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
/**
* 145. 二叉树的后序遍历
* https://leetcode-cn.com/problems/binary-tree-postorder-traversal/
* 后续遍历比前序和中序要复杂一点,也是三种方法,可以参考144题
* 之前一直用栈来实现,参考了官方题解后,发现可以用逆向的先序遍历实现,不需要标志位
* 参考https://leetcode-cn.com/problems/binary-tree-postorder-traversal/solution/er-cha-shu-de-hou-xu-bian-li-by-leetcode/
* 而且思路特别顺,只能说666,好好梳理一下二叉树相关的题目,写一篇博客记录一下。
*/
public class LeetCode145 {
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
List<Integer> list = new ArrayList<>();
Stack<TreeNode> stack = new Stack();
public List<Integer> postorderTraversal(TreeNode root) {
TreeNode node = root;
TreeNode last = root;
while (node != null || !stack.empty()) {
if (node != null) {
stack.push(node);
node = node.left;
} else {
node = stack.peek();
if (node.right == null || node.right == last) {
list.add(node.val);
stack.pop();
last = node;
node = null;
} else {
node = node.right;
}
}
}
return list;
}
}
| [
"yuejiande@163.com"
] | yuejiande@163.com |
790ad0975d18bde9ec7f088e3bf6fdecc00dfab6 | e62e0ddb1a593eb082f62b159c96449e5845e6c4 | /dao/src/main/java/com/afrAsia/dao/HobbyDao.java | 8568de14ec4a5a0ca65f1ca5626ea423316f823b | [] | no_license | pwcfstech/CustomerOnboarding_WhiteLabel_Backend | 68adb8b4640b0b468bd02e8fb8a6fa699c78dfa8 | 2265801768d4f68e3e92a3ceb624aa179e6f60f6 | refs/heads/master | 2021-08-11T07:41:18.970465 | 2017-11-13T09:52:19 | 2017-11-13T09:52:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 170 | java | package com.afrAsia.dao;
import java.util.Collection;
import com.afrAsia.entities.masters.Hobby;
public interface HobbyDao {
public Collection<Hobby> getHobby();
}
| [
"avisha.jindal@gmail.com"
] | avisha.jindal@gmail.com |
f6ccb8425f47a8e2219814ea5be84e705d497203 | 4e386c6708201f0daf9854f173ad66104dcd6549 | /poc/bps/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/OnEventImpl.java | c68b7fe6e567162d5613c49f1a6a2008952ef836 | [] | no_license | whosaner/tools | a386071bf55ec43f091c26c44d34e2c72017c68f | 11aad72b0f098672ade5f6c00b2c5742ffbcb845 | refs/heads/master | 2021-01-17T12:49:47.402884 | 2014-07-24T16:09:16 | 2014-07-24T16:09:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 26,487 | java | /**
* <copyright>
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* </copyright>
*
* $Id: OnEventImpl.java,v 1.13 2009/04/14 10:50:37 smoser Exp $
*/
package org.eclipse.bpel.model.impl;
import org.eclipse.bpel.model.Activity;
import org.eclipse.bpel.model.BPELPackage;
import org.eclipse.bpel.model.CorrelationSets;
import org.eclipse.bpel.model.Correlations;
import org.eclipse.bpel.model.FromParts;
import org.eclipse.bpel.model.MessageExchange;
import org.eclipse.bpel.model.OnEvent;
import org.eclipse.bpel.model.PartnerLink;
import org.eclipse.bpel.model.Variable;
import org.eclipse.bpel.model.partnerlinktype.Role;
import org.eclipse.bpel.model.proxy.OperationProxy;
import org.eclipse.bpel.model.util.BPELConstants;
import org.eclipse.bpel.model.util.ReconciliationHelper;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.wst.wsdl.Message;
import org.eclipse.wst.wsdl.Operation;
import org.eclipse.wst.wsdl.PortType;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>On Event</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getActivity <em>Activity</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getVariable <em>Variable</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getPartnerLink <em>Partner Link</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getCorrelations <em>Correlations</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getOperation <em>Operation</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getPortType <em>Port Type</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getMessageType <em>Message Type</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getCorrelationSets <em>Correlation Sets</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getFromParts <em>From Parts</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.OnEventImpl#getMessageExchange <em>Message Exchange</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class OnEventImpl extends ExtensibleElementImpl implements OnEvent {
/**
* The cached value of the '{@link #getActivity() <em>Activity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getActivity()
* @generated
* @ordered
*/
protected Activity activity;
/**
* The cached value of the '{@link #getVariable() <em>Variable</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getVariable()
* @generated
* @ordered
*/
protected Variable variable;
/**
* The cached value of the '{@link #getPartnerLink() <em>Partner Link</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPartnerLink()
* @generated
* @ordered
*/
protected PartnerLink partnerLink;
/**
* The cached value of the '{@link #getCorrelations() <em>Correlations</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCorrelations()
* @generated
* @ordered
*/
protected Correlations correlations;
/**
* The cached value of the '{@link #getOperation() <em>Operation</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOperation()
* @generated
* @ordered
*/
protected Operation operation;
/**
* The cached value of the '{@link #getPortType() <em>Port Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPortType()
* @generated
* @ordered
*/
protected PortType portType;
/**
* The cached value of the '{@link #getMessageType() <em>Message Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getMessageType()
* @generated
* @ordered
*/
protected Message messageType;
/**
* The cached value of the '{@link #getCorrelationSets() <em>Correlation Sets</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCorrelationSets()
* @generated
* @ordered
*/
protected CorrelationSets correlationSets;
/**
* The cached value of the '{@link #getFromParts() <em>From Parts</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getFromParts()
* @generated
* @ordered
*/
protected FromParts fromParts;
/**
* The cached value of the '{@link #getMessageExchange() <em>Message Exchange</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getMessageExchange()
* @generated
* @ordered
*/
protected MessageExchange messageExchange;
/**
* The deserialized value of the operation name.
* @generated NOT
*/
protected String operationName;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected OnEventImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected EClass eStaticClass() {
return BPELPackage.Literals.ON_EVENT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Activity getActivity() {
return activity;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public NotificationChain basicSetActivity(Activity newActivity,
NotificationChain msgs) {
Activity oldActivity = activity;
if (!isReconciling) {
ReconciliationHelper.replaceChild(this, oldActivity, newActivity);
}
activity = newActivity;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this,
Notification.SET, BPELPackage.ON_EVENT__ACTIVITY,
oldActivity, newActivity);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setActivity(Activity newActivity) {
if (newActivity != activity) {
NotificationChain msgs = null;
if (activity != null)
msgs = ((InternalEObject) activity)
.eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__ACTIVITY, null, msgs);
if (newActivity != null)
msgs = ((InternalEObject) newActivity)
.eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__ACTIVITY, null, msgs);
msgs = basicSetActivity(newActivity, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__ACTIVITY, newActivity, newActivity));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Variable getVariable() {
return variable;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public NotificationChain basicSetVariable(Variable newVariable,
NotificationChain msgs) {
Variable oldVariable = variable;
if (!isReconciling) {
ReconciliationHelper.replaceAttribute(this,
BPELConstants.AT_VARIABLE, newVariable == null ? null
: newVariable.getName());
}
variable = newVariable;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this,
Notification.SET, BPELPackage.ON_EVENT__VARIABLE,
oldVariable, newVariable);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setVariable(Variable newVariable) {
if (newVariable != variable) {
NotificationChain msgs = null;
if (variable != null)
msgs = ((InternalEObject) variable)
.eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__VARIABLE, null, msgs);
if (newVariable != null)
msgs = ((InternalEObject) newVariable)
.eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__VARIABLE, null, msgs);
msgs = basicSetVariable(newVariable, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__VARIABLE, newVariable, newVariable));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PartnerLink getPartnerLink() {
if (partnerLink != null && partnerLink.eIsProxy()) {
InternalEObject oldPartnerLink = (InternalEObject) partnerLink;
partnerLink = (PartnerLink) eResolveProxy(oldPartnerLink);
if (partnerLink != oldPartnerLink) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
BPELPackage.ON_EVENT__PARTNER_LINK, oldPartnerLink,
partnerLink));
}
}
return partnerLink;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PartnerLink basicGetPartnerLink() {
return partnerLink;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public void setPartnerLink(PartnerLink newPartnerLink) {
PartnerLink oldPartnerLink = partnerLink;
if (!isReconciling) {
ReconciliationHelper.replaceAttribute(this,
BPELConstants.AT_PARTNER_LINK,
newPartnerLink == null ? null : newPartnerLink.getName());
}
partnerLink = newPartnerLink;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__PARTNER_LINK, oldPartnerLink,
partnerLink));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Correlations getCorrelations() {
return correlations;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public NotificationChain basicSetCorrelations(Correlations newCorrelations,
NotificationChain msgs) {
Correlations oldCorrelations = correlations;
if (!isReconciling) {
ReconciliationHelper.replaceChild(this, oldCorrelations,
newCorrelations);
}
correlations = newCorrelations;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this,
Notification.SET, BPELPackage.ON_EVENT__CORRELATIONS,
oldCorrelations, newCorrelations);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCorrelations(Correlations newCorrelations) {
if (newCorrelations != correlations) {
NotificationChain msgs = null;
if (correlations != null)
msgs = ((InternalEObject) correlations).eInverseRemove(this,
EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__CORRELATIONS, null,
msgs);
if (newCorrelations != null)
msgs = ((InternalEObject) newCorrelations).eInverseAdd(this,
EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__CORRELATIONS, null,
msgs);
msgs = basicSetCorrelations(newCorrelations, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__CORRELATIONS, newCorrelations,
newCorrelations));
}
/**
* Customizes {@link #getOperationGen()} to handle the case where the port type is not specified.
* @customized
*/
public Operation getOperation() {
if (operation == null && operationName != null) {
PortType portType = getPortType();
if (portType != null) {
// Create an operation proxy with the deserialized operation name.
operation = new OperationProxy(eResource().getURI(), portType,
operationName);
operationName = null;
}
}
return getOperationGen();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Operation getOperationGen() {
if (operation != null && operation.eIsProxy()) {
InternalEObject oldOperation = (InternalEObject) operation;
operation = (Operation) eResolveProxy(oldOperation);
if (operation != oldOperation) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
BPELPackage.ON_EVENT__OPERATION, oldOperation,
operation));
}
}
return operation;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Operation basicGetOperation() {
return operation;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public void setOperation(Operation newOperation) {
Operation oldOperation = operation;
if (!isReconciling) {
ReconciliationHelper.replaceAttribute(this,
BPELConstants.AT_OPERATION, newOperation == null ? null
: newOperation.getName());
}
operation = newOperation;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__OPERATION, oldOperation, operation));
}
/**
* Set the deserialized value of the operation name.
* @generated NOT
*/
public void setOperationName(String operationName) {
this.operationName = operationName;
}
/**
* Customizes {@link #getPortTypeGen()} to handle the case where the port type is not specified.
* @generated NOT
*/
public PortType getPortType() {
if (portType != null) {
return getPortTypeGen();
} else {
// portType is now optional. If the user hasn't set it, then
// infer it from the partnerLink attribute and the
// direction of this activity.
PartnerLink link = getPartnerLink();
if (link != null) {
Role role = link.getMyRole();
if (role != null) {
portType = (PortType) role.getPortType();
}
}
return portType;
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PortType getPortTypeGen() {
if (portType != null && portType.eIsProxy()) {
InternalEObject oldPortType = (InternalEObject) portType;
portType = (PortType) eResolveProxy(oldPortType);
if (portType != oldPortType) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
BPELPackage.ON_EVENT__PORT_TYPE, oldPortType,
portType));
}
}
return portType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PortType basicGetPortType() {
return portType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public void setPortType(PortType newPortType) {
PortType oldPortType = portType;
if (!isReconciling) {
ReconciliationHelper.replaceAttribute(this,
BPELConstants.AT_PORT_TYPE, newPortType == null ? null
: newPortType.getQName());
}
portType = newPortType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__PORT_TYPE, oldPortType, portType));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @customized
*/
public Message getMessageType() {
Variable variable = getVariable();
if (variable != null && variable instanceof Variable) {
return (variable).getMessageType();
}
if (messageType != null && messageType.eIsProxy()) {
Message oldMessageType = messageType;
messageType = (Message) eResolveProxy((InternalEObject) messageType);
if (messageType != oldMessageType) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
BPELPackage.ON_EVENT__MESSAGE_TYPE, oldMessageType,
messageType));
}
}
return messageType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Message basicGetMessageType() {
return messageType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @customized
*/
public void setMessageType(Message newMessageType) {
Variable variable = getVariable();
if (variable != null && variable instanceof Variable) {
(variable).setMessageType(newMessageType);
}
Message oldMessageType = messageType;
messageType = newMessageType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__MESSAGE_TYPE, oldMessageType,
messageType));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CorrelationSets getCorrelationSets() {
return correlationSets;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public NotificationChain basicSetCorrelationSets(
CorrelationSets newCorrelationSets, NotificationChain msgs) {
CorrelationSets oldCorrelationSets = correlationSets;
if (!isReconciling) {
ReconciliationHelper.replaceChild(this, oldCorrelationSets,
newCorrelationSets);
}
correlationSets = newCorrelationSets;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this,
Notification.SET, BPELPackage.ON_EVENT__CORRELATION_SETS,
oldCorrelationSets, newCorrelationSets);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCorrelationSets(CorrelationSets newCorrelationSets) {
if (newCorrelationSets != correlationSets) {
NotificationChain msgs = null;
if (correlationSets != null)
msgs = ((InternalEObject) correlationSets).eInverseRemove(this,
EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__CORRELATION_SETS, null,
msgs);
if (newCorrelationSets != null)
msgs = ((InternalEObject) newCorrelationSets).eInverseAdd(this,
EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__CORRELATION_SETS, null,
msgs);
msgs = basicSetCorrelationSets(newCorrelationSets, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__CORRELATION_SETS, newCorrelationSets,
newCorrelationSets));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FromParts getFromParts() {
return fromParts;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*/
public NotificationChain basicSetFromParts(FromParts newFromParts,
NotificationChain msgs) {
FromParts oldFromParts = fromParts;
if (!isReconciling) {
ReconciliationHelper.replaceChild(this, oldFromParts, newFromParts);
}
fromParts = newFromParts;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this,
Notification.SET, BPELPackage.ON_EVENT__FROM_PARTS,
oldFromParts, newFromParts);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFromParts(FromParts newFromParts) {
if (newFromParts != fromParts) {
NotificationChain msgs = null;
if (fromParts != null)
msgs = ((InternalEObject) fromParts).eInverseRemove(this,
EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__FROM_PARTS, null, msgs);
if (newFromParts != null)
msgs = ((InternalEObject) newFromParts).eInverseAdd(this,
EOPPOSITE_FEATURE_BASE
- BPELPackage.ON_EVENT__FROM_PARTS, null, msgs);
msgs = basicSetFromParts(newFromParts, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__FROM_PARTS, newFromParts,
newFromParts));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public MessageExchange getMessageExchange() {
if (messageExchange != null && messageExchange.eIsProxy()) {
InternalEObject oldMessageExchange = (InternalEObject) messageExchange;
messageExchange = (MessageExchange) eResolveProxy(oldMessageExchange);
if (messageExchange != oldMessageExchange) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
BPELPackage.ON_EVENT__MESSAGE_EXCHANGE,
oldMessageExchange, messageExchange));
}
}
return messageExchange;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public MessageExchange basicGetMessageExchange() {
return messageExchange;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @author Miriam Grundig (MGrundig@de.ibm.com)
*/
public void setMessageExchange(MessageExchange newMessageExchange) {
MessageExchange oldMessageExchange = messageExchange;
if (!isReconciling) {
ReconciliationHelper.replaceAttribute(this,
BPELConstants.AT_MESSAGE_EXCHANGE,
newMessageExchange == null ? null : newMessageExchange
.getName());
}
messageExchange = newMessageExchange;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
BPELPackage.ON_EVENT__MESSAGE_EXCHANGE, oldMessageExchange,
messageExchange));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
case BPELPackage.ON_EVENT__ACTIVITY:
return basicSetActivity(null, msgs);
case BPELPackage.ON_EVENT__VARIABLE:
return basicSetVariable(null, msgs);
case BPELPackage.ON_EVENT__CORRELATIONS:
return basicSetCorrelations(null, msgs);
case BPELPackage.ON_EVENT__CORRELATION_SETS:
return basicSetCorrelationSets(null, msgs);
case BPELPackage.ON_EVENT__FROM_PARTS:
return basicSetFromParts(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case BPELPackage.ON_EVENT__ACTIVITY:
return getActivity();
case BPELPackage.ON_EVENT__VARIABLE:
return getVariable();
case BPELPackage.ON_EVENT__PARTNER_LINK:
if (resolve)
return getPartnerLink();
return basicGetPartnerLink();
case BPELPackage.ON_EVENT__CORRELATIONS:
return getCorrelations();
case BPELPackage.ON_EVENT__OPERATION:
if (resolve)
return getOperation();
return basicGetOperation();
case BPELPackage.ON_EVENT__PORT_TYPE:
if (resolve)
return getPortType();
return basicGetPortType();
case BPELPackage.ON_EVENT__MESSAGE_TYPE:
if (resolve)
return getMessageType();
return basicGetMessageType();
case BPELPackage.ON_EVENT__CORRELATION_SETS:
return getCorrelationSets();
case BPELPackage.ON_EVENT__FROM_PARTS:
return getFromParts();
case BPELPackage.ON_EVENT__MESSAGE_EXCHANGE:
if (resolve)
return getMessageExchange();
return basicGetMessageExchange();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case BPELPackage.ON_EVENT__ACTIVITY:
setActivity((Activity) newValue);
return;
case BPELPackage.ON_EVENT__VARIABLE:
setVariable((Variable) newValue);
return;
case BPELPackage.ON_EVENT__PARTNER_LINK:
setPartnerLink((PartnerLink) newValue);
return;
case BPELPackage.ON_EVENT__CORRELATIONS:
setCorrelations((Correlations) newValue);
return;
case BPELPackage.ON_EVENT__OPERATION:
setOperation((Operation) newValue);
return;
case BPELPackage.ON_EVENT__PORT_TYPE:
setPortType((PortType) newValue);
return;
case BPELPackage.ON_EVENT__MESSAGE_TYPE:
setMessageType((Message) newValue);
return;
case BPELPackage.ON_EVENT__CORRELATION_SETS:
setCorrelationSets((CorrelationSets) newValue);
return;
case BPELPackage.ON_EVENT__FROM_PARTS:
setFromParts((FromParts) newValue);
return;
case BPELPackage.ON_EVENT__MESSAGE_EXCHANGE:
setMessageExchange((MessageExchange) newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void eUnset(int featureID) {
switch (featureID) {
case BPELPackage.ON_EVENT__ACTIVITY:
setActivity((Activity) null);
return;
case BPELPackage.ON_EVENT__VARIABLE:
setVariable((Variable) null);
return;
case BPELPackage.ON_EVENT__PARTNER_LINK:
setPartnerLink((PartnerLink) null);
return;
case BPELPackage.ON_EVENT__CORRELATIONS:
setCorrelations((Correlations) null);
return;
case BPELPackage.ON_EVENT__OPERATION:
setOperation((Operation) null);
return;
case BPELPackage.ON_EVENT__PORT_TYPE:
setPortType((PortType) null);
return;
case BPELPackage.ON_EVENT__MESSAGE_TYPE:
setMessageType((Message) null);
return;
case BPELPackage.ON_EVENT__CORRELATION_SETS:
setCorrelationSets((CorrelationSets) null);
return;
case BPELPackage.ON_EVENT__FROM_PARTS:
setFromParts((FromParts) null);
return;
case BPELPackage.ON_EVENT__MESSAGE_EXCHANGE:
setMessageExchange((MessageExchange) null);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean eIsSet(int featureID) {
switch (featureID) {
case BPELPackage.ON_EVENT__ACTIVITY:
return activity != null;
case BPELPackage.ON_EVENT__VARIABLE:
return variable != null;
case BPELPackage.ON_EVENT__PARTNER_LINK:
return partnerLink != null;
case BPELPackage.ON_EVENT__CORRELATIONS:
return correlations != null;
case BPELPackage.ON_EVENT__OPERATION:
return operation != null;
case BPELPackage.ON_EVENT__PORT_TYPE:
return portType != null;
case BPELPackage.ON_EVENT__MESSAGE_TYPE:
return messageType != null;
case BPELPackage.ON_EVENT__CORRELATION_SETS:
return correlationSets != null;
case BPELPackage.ON_EVENT__FROM_PARTS:
return fromParts != null;
case BPELPackage.ON_EVENT__MESSAGE_EXCHANGE:
return messageExchange != null;
}
return super.eIsSet(featureID);
}
} //OnEventImpl
| [
"melan@a5903396-d722-0410-b921-86c7d4935375"
] | melan@a5903396-d722-0410-b921-86c7d4935375 |
4b0711e891bd1a7169ef0981b40f8d965ddda51c | 86882d954558457ae7ac2d3957f2aa20b38638aa | /DataStructures/src/SwapValues.java | f967e287642038e4e5f0cfc8fabcaf1fcb14f946 | [
"MIT"
] | permissive | SaurabhGujare/Interview-Preparation | 21b5f0d8f08e2df6d3f503788bf3e3172f4e7252 | eb5b0cb42a85dbfa1022a778a1c6ca706a2e7e3f | refs/heads/master | 2020-05-21T10:55:29.559083 | 2019-06-22T22:57:58 | 2019-06-22T22:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 297 | java | public class SwapValues {
public static void main(String[] args){
int x=6;
int y=9;
System.out.println("Before Swapping: \nX= "+x+" || Y= "+y);
x=x+y;
y=x-y;
x=x-y;
System.out.println("After Swapping: \nX= "+x+" || Y= "+y);
}
}
| [
"noreply@github.com"
] | SaurabhGujare.noreply@github.com |
cfccc34d9cbda0fdcaa21f848a08736f50117477 | 8d7abd2c7f5c4116d9b10c315f3fe82919d9f522 | /src/main/groovy/groovy/lang/Tuple13.java | 406147a0d727a609ff849e60970177f672958ee9 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT",
"CC-BY-2.5"
] | permissive | huamichaelchen/groovy | 7c0b7dd1cb1c9706603396975299798fffecac0c | 650936ecd10301f4b0cc37bbe4566a338ac29167 | refs/heads/master | 2020-04-07T22:12:29.866409 | 2018-11-20T20:06:18 | 2018-11-20T20:06:33 | 158,759,963 | 0 | 1 | Apache-2.0 | 2018-11-22T23:46:33 | 2018-11-22T23:46:33 | null | UTF-8 | Java | false | false | 17,763 | java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package groovy.lang;
import groovy.util.function.Function1;
import groovy.util.function.Function13;
/**
* Represents a list of 13 typed Objects.
*
* @since 3.0.0
*/
public class Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> extends Tuple {
private static final long serialVersionUID = -3709443502209750114L;
private final T1 v1;
private final T2 v2;
private final T3 v3;
private final T4 v4;
private final T5 v5;
private final T6 v6;
private final T7 v7;
private final T8 v8;
private final T9 v9;
private final T10 v10;
private final T11 v11;
private final T12 v12;
private final T13 v13;
public Tuple13(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13) {
super(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
this.v1 = v1;
this.v2 = v2;
this.v3 = v3;
this.v4 = v4;
this.v5 = v5;
this.v6 = v6;
this.v7 = v7;
this.v8 = v8;
this.v9 = v9;
this.v10 = v10;
this.v11 = v11;
this.v12 = v12;
this.v13 = v13;
}
public Tuple13(Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> tuple) {
this(tuple.v1, tuple.v2, tuple.v3, tuple.v4, tuple.v5, tuple.v6, tuple.v7, tuple.v8, tuple.v9, tuple.v10, tuple.v11, tuple.v12, tuple.v13);
}
public T1 getV1() {
return v1;
}
public T2 getV2() {
return v2;
}
public T3 getV3() {
return v3;
}
public T4 getV4() {
return v4;
}
public T5 getV5() {
return v5;
}
public T6 getV6() {
return v6;
}
public T7 getV7() {
return v7;
}
public T8 getV8() {
return v8;
}
public T9 getV9() {
return v9;
}
public T10 getV10() {
return v10;
}
public T11 getV11() {
return v11;
}
public T12 getV12() {
return v12;
}
public T13 getV13() {
return v13;
}
/**
* Concatenate a value to this tuple.
*/
public final <T14> Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> concat(T14 value) {
return new Tuple14<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, value);
}
/**
* Concatenate a tuple to this tuple.
*/
public final <T14> Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> concat(Tuple1<T14> tuple) {
return new Tuple14<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, tuple.getV1());
}
/**
* Concatenate a tuple to this tuple.
*/
public final <T14, T15> Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> concat(Tuple2<T14, T15> tuple) {
return new Tuple15<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, tuple.getV1(), tuple.getV2());
}
/**
* Concatenate a tuple to this tuple.
*/
public final <T14, T15, T16> Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> concat(Tuple3<T14, T15, T16> tuple) {
return new Tuple16<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, tuple.getV1(), tuple.getV2(), tuple.getV3());
}
/**
* Split this tuple into two tuples of degree 0 and 13.
*/
public final Tuple2<Tuple0, Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> split0() {
return new Tuple2<>(limit0(), skip0());
}
/**
* Split this tuple into two tuples of degree 1 and 12.
*/
public final Tuple2<Tuple1<T1>, Tuple12<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> split1() {
return new Tuple2<>(limit1(), skip1());
}
/**
* Split this tuple into two tuples of degree 2 and 11.
*/
public final Tuple2<Tuple2<T1, T2>, Tuple11<T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> split2() {
return new Tuple2<>(limit2(), skip2());
}
/**
* Split this tuple into two tuples of degree 3 and 10.
*/
public final Tuple2<Tuple3<T1, T2, T3>, Tuple10<T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> split3() {
return new Tuple2<>(limit3(), skip3());
}
/**
* Split this tuple into two tuples of degree 4 and 9.
*/
public final Tuple2<Tuple4<T1, T2, T3, T4>, Tuple9<T5, T6, T7, T8, T9, T10, T11, T12, T13>> split4() {
return new Tuple2<>(limit4(), skip4());
}
/**
* Split this tuple into two tuples of degree 5 and 8.
*/
public final Tuple2<Tuple5<T1, T2, T3, T4, T5>, Tuple8<T6, T7, T8, T9, T10, T11, T12, T13>> split5() {
return new Tuple2<>(limit5(), skip5());
}
/**
* Split this tuple into two tuples of degree 6 and 7.
*/
public final Tuple2<Tuple6<T1, T2, T3, T4, T5, T6>, Tuple7<T7, T8, T9, T10, T11, T12, T13>> split6() {
return new Tuple2<>(limit6(), skip6());
}
/**
* Split this tuple into two tuples of degree 7 and 6.
*/
public final Tuple2<Tuple7<T1, T2, T3, T4, T5, T6, T7>, Tuple6<T8, T9, T10, T11, T12, T13>> split7() {
return new Tuple2<>(limit7(), skip7());
}
/**
* Split this tuple into two tuples of degree 8 and 5.
*/
public final Tuple2<Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>, Tuple5<T9, T10, T11, T12, T13>> split8() {
return new Tuple2<>(limit8(), skip8());
}
/**
* Split this tuple into two tuples of degree 9 and 4.
*/
public final Tuple2<Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>, Tuple4<T10, T11, T12, T13>> split9() {
return new Tuple2<>(limit9(), skip9());
}
/**
* Split this tuple into two tuples of degree 10 and 3.
*/
public final Tuple2<Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, Tuple3<T11, T12, T13>> split10() {
return new Tuple2<>(limit10(), skip10());
}
/**
* Split this tuple into two tuples of degree 11 and 2.
*/
public final Tuple2<Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, Tuple2<T12, T13>> split11() {
return new Tuple2<>(limit11(), skip11());
}
/**
* Split this tuple into two tuples of degree 12 and 1.
*/
public final Tuple2<Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, Tuple1<T13>> split12() {
return new Tuple2<>(limit12(), skip12());
}
/**
* Split this tuple into two tuples of degree 13 and 0.
*/
public final Tuple2<Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, Tuple0> split13() {
return new Tuple2<>(limit13(), skip13());
}
/**
* Limit this tuple to degree 0.
*/
public final Tuple0 limit0() {
return new Tuple0();
}
/**
* Limit this tuple to degree 1.
*/
public final Tuple1<T1> limit1() {
return new Tuple1<>(v1);
}
/**
* Limit this tuple to degree 2.
*/
public final Tuple2<T1, T2> limit2() {
return new Tuple2<>(v1, v2);
}
/**
* Limit this tuple to degree 3.
*/
public final Tuple3<T1, T2, T3> limit3() {
return new Tuple3<>(v1, v2, v3);
}
/**
* Limit this tuple to degree 4.
*/
public final Tuple4<T1, T2, T3, T4> limit4() {
return new Tuple4<>(v1, v2, v3, v4);
}
/**
* Limit this tuple to degree 5.
*/
public final Tuple5<T1, T2, T3, T4, T5> limit5() {
return new Tuple5<>(v1, v2, v3, v4, v5);
}
/**
* Limit this tuple to degree 6.
*/
public final Tuple6<T1, T2, T3, T4, T5, T6> limit6() {
return new Tuple6<>(v1, v2, v3, v4, v5, v6);
}
/**
* Limit this tuple to degree 7.
*/
public final Tuple7<T1, T2, T3, T4, T5, T6, T7> limit7() {
return new Tuple7<>(v1, v2, v3, v4, v5, v6, v7);
}
/**
* Limit this tuple to degree 8.
*/
public final Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> limit8() {
return new Tuple8<>(v1, v2, v3, v4, v5, v6, v7, v8);
}
/**
* Limit this tuple to degree 9.
*/
public final Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9> limit9() {
return new Tuple9<>(v1, v2, v3, v4, v5, v6, v7, v8, v9);
}
/**
* Limit this tuple to degree 10.
*/
public final Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> limit10() {
return new Tuple10<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10);
}
/**
* Limit this tuple to degree 11.
*/
public final Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> limit11() {
return new Tuple11<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11);
}
/**
* Limit this tuple to degree 12.
*/
public final Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> limit12() {
return new Tuple12<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12);
}
/**
* Limit this tuple to degree 13.
*/
public final Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> limit13() {
return this;
}
/**
* Skip 0 degrees from this tuple.
*/
public final Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> skip0() {
return this;
}
/**
* Skip 1 degrees from this tuple.
*/
public final Tuple12<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> skip1() {
return new Tuple12<>(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Skip 2 degrees from this tuple.
*/
public final Tuple11<T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> skip2() {
return new Tuple11<>(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Skip 3 degrees from this tuple.
*/
public final Tuple10<T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> skip3() {
return new Tuple10<>(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Skip 4 degrees from this tuple.
*/
public final Tuple9<T5, T6, T7, T8, T9, T10, T11, T12, T13> skip4() {
return new Tuple9<>(v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Skip 5 degrees from this tuple.
*/
public final Tuple8<T6, T7, T8, T9, T10, T11, T12, T13> skip5() {
return new Tuple8<>(v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Skip 6 degrees from this tuple.
*/
public final Tuple7<T7, T8, T9, T10, T11, T12, T13> skip6() {
return new Tuple7<>(v7, v8, v9, v10, v11, v12, v13);
}
/**
* Skip 7 degrees from this tuple.
*/
public final Tuple6<T8, T9, T10, T11, T12, T13> skip7() {
return new Tuple6<>(v8, v9, v10, v11, v12, v13);
}
/**
* Skip 8 degrees from this tuple.
*/
public final Tuple5<T9, T10, T11, T12, T13> skip8() {
return new Tuple5<>(v9, v10, v11, v12, v13);
}
/**
* Skip 9 degrees from this tuple.
*/
public final Tuple4<T10, T11, T12, T13> skip9() {
return new Tuple4<>(v10, v11, v12, v13);
}
/**
* Skip 10 degrees from this tuple.
*/
public final Tuple3<T11, T12, T13> skip10() {
return new Tuple3<>(v11, v12, v13);
}
/**
* Skip 11 degrees from this tuple.
*/
public final Tuple2<T12, T13> skip11() {
return new Tuple2<>(v12, v13);
}
/**
* Skip 12 degrees from this tuple.
*/
public final Tuple1<T13> skip12() {
return new Tuple1<>(v13);
}
/**
* Skip 13 degrees from this tuple.
*/
public final Tuple0 skip13() {
return new Tuple0();
}
/**
* Apply this tuple as arguments to a function.
*/
public final <R> R map(Function13<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? super T9, ? super T10, ? super T11, ? super T12, ? super T13, ? extends R> function) {
return function.apply(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 1 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U1> Tuple13<U1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> map1(Function1<? super T1, ? extends U1> function) {
return new Tuple13<>(function.apply(v1), v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 2 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U2> Tuple13<T1, U2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> map2(Function1<? super T2, ? extends U2> function) {
return new Tuple13<>(v1, function.apply(v2), v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 3 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U3> Tuple13<T1, T2, U3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> map3(Function1<? super T3, ? extends U3> function) {
return new Tuple13<>(v1, v2, function.apply(v3), v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 4 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U4> Tuple13<T1, T2, T3, U4, T5, T6, T7, T8, T9, T10, T11, T12, T13> map4(Function1<? super T4, ? extends U4> function) {
return new Tuple13<>(v1, v2, v3, function.apply(v4), v5, v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 5 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U5> Tuple13<T1, T2, T3, T4, U5, T6, T7, T8, T9, T10, T11, T12, T13> map5(Function1<? super T5, ? extends U5> function) {
return new Tuple13<>(v1, v2, v3, v4, function.apply(v5), v6, v7, v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 6 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U6> Tuple13<T1, T2, T3, T4, T5, U6, T7, T8, T9, T10, T11, T12, T13> map6(Function1<? super T6, ? extends U6> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, function.apply(v6), v7, v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 7 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U7> Tuple13<T1, T2, T3, T4, T5, T6, U7, T8, T9, T10, T11, T12, T13> map7(Function1<? super T7, ? extends U7> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, v6, function.apply(v7), v8, v9, v10, v11, v12, v13);
}
/**
* Apply attribute 8 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U8> Tuple13<T1, T2, T3, T4, T5, T6, T7, U8, T9, T10, T11, T12, T13> map8(Function1<? super T8, ? extends U8> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, v6, v7, function.apply(v8), v9, v10, v11, v12, v13);
}
/**
* Apply attribute 9 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U9> Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, U9, T10, T11, T12, T13> map9(Function1<? super T9, ? extends U9> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, v6, v7, v8, function.apply(v9), v10, v11, v12, v13);
}
/**
* Apply attribute 10 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U10> Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, U10, T11, T12, T13> map10(Function1<? super T10, ? extends U10> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, function.apply(v10), v11, v12, v13);
}
/**
* Apply attribute 11 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U11> Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, U11, T12, T13> map11(Function1<? super T11, ? extends U11> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, function.apply(v11), v12, v13);
}
/**
* Apply attribute 12 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U12> Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, U12, T13> map12(Function1<? super T12, ? extends U12> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, function.apply(v12), v13);
}
/**
* Apply attribute 13 as argument to a function and return a new tuple with the substituted argument.
*/
public final <U13> Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, U13> map13(Function1<? super T13, ? extends U13> function) {
return new Tuple13<>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, function.apply(v13));
}
@Override
public Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> clone() {
return new Tuple13<>(this);
}
}
| [
"sunlan@apache.org"
] | sunlan@apache.org |
4550911162f146c2a2a2c0d72d2bbd421dc2b5d3 | 7597bb315b00569d20da980b843284b1cc16dac4 | /app/src/test/java/com/techmate/woocommerce/ExampleUnitTest.java | add9d1f82541a4045e307b6cb135b53a5764599a | [] | no_license | dshapes/clt | 245907430ddc34a021032ed1c5f3ad835b055c09 | 04438fb16562bcfd22d0c63cbcdec198bd44a172 | refs/heads/master | 2023-03-04T06:40:05.144070 | 2021-02-06T21:01:17 | 2021-02-06T21:01:17 | 322,915,662 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 385 | java | package com.techmate.woocommerce;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
} | [
"nishit@Nishits-MacBook-Air.local"
] | nishit@Nishits-MacBook-Air.local |
32cf9bef0908bdcb7e4edd09b720b79d6b163657 | 79939574a1a563d7a862a5c30465f8072e5ad489 | /kplot_web/src/com/kplot/web/json/AppRequestUploadTables.java | 44bd92ab6429375b60e720a4e9c14669290be7fa | [] | no_license | djshin98/kplotweb | 640ca2620dcf4f3bb1edbd29ccda864e82ef6be5 | 0dac4e4c6e83616c102482512c8c68f07f517216 | refs/heads/master | 2021-01-13T16:29:24.867891 | 2017-01-05T06:03:22 | 2017-01-05T06:03:22 | 78,086,760 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,209 | java | package com.kplot.web.json;
import java.util.ArrayList;
import org.apache.commons.codec.binary.Base64;
import java.sql.Timestamp;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.itf.framework.util.DATE;
import com.itf.framework.db.JSONWrapper;
public class AppRequestUploadTables extends JSONWrapper{
public static final int ID = 10;
public static final String NAME = "AppRequestUploadTables";
public String requestKey; //요청 키
public String language; //모바일 사용자가 선택한 언어(한국어="ko",영어="en")
public void copy( AppRequestUploadTables d ){
this.requestKey = d.requestKey;
this.language = d.language;
}
public JSONObject encoding(){
JSONObject obj = new JSONObject();
try {
if( requestKey != null ){ obj.put("requestKey",requestKey); }
else{ obj.put("requestKey",""); }
if( language != null ){ obj.put("language",language); }
else{ obj.put("language",""); }
} catch (JSONException e) {
e.printStackTrace();
}
return obj;
}
@SuppressWarnings("unchecked")
public static AppRequestUploadTables decoding(JSONObject obj) {
AppRequestUploadTables wrapper = new AppRequestUploadTables();
try {
if( obj.has("requestKey") ){ wrapper.requestKey = obj.getString("requestKey"); }
if( obj.has("language") ){ wrapper.language = obj.getString("language"); }
} catch (JSONException e) {
e.printStackTrace();
}
return wrapper;
}
public void print(String prefix){
System.out.println(prefix+NAME+"{");
if( requestKey != null ){
System.out.println(prefix+"requestKey : " + requestKey);
}else{
System.out.println(prefix+"requestKey : null" );
}
if( language != null ){
System.out.println(prefix+"language : " + language);
}else{
System.out.println(prefix+"language : null" );
}
System.out.println(prefix+"}");
}
public JSONObject toMessage(){
JSONObject obj = new JSONObject();
try {
obj.put("requestObjectName", AppRequestUploadTables.NAME);
obj.put("requestObject", encoding() );
} catch (JSONException e) {
e.printStackTrace();
}
return obj;
}
}
| [
"djshin98@gmail.com"
] | djshin98@gmail.com |
cac53f7358fcb4549672c8e04d0232dfd9749302 | 3d94ff15c8283399f8bf86bd08f711b5c6f3ab4e | /src/main/java/io/smallbird/modules/sys/controller/SysPageController.java | 7b0d82e49c821e4b92d19460954f9022a5eaaccf | [] | no_license | sunny-sys/frame | 451f3cb8965c89e60928bfa744cb2da40f7f83a4 | 8927f85fbc698e3accfce478cb0b32c8d09f2d79 | refs/heads/master | 2022-10-29T19:16:39.706926 | 2019-12-18T11:50:52 | 2019-12-18T11:50:52 | 228,828,501 | 1 | 0 | null | 2022-10-12T20:35:19 | 2019-12-18T11:44:55 | Java | UTF-8 | Java | false | false | 894 | java | package io.smallbird.modules.sys.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* 系统页面视图
*
*
*/
@Controller
public class SysPageController {
@RequestMapping("modules/{module}/{url}.html")
public String module(@PathVariable("module") String module, @PathVariable("url") String url){
return "modules/" + module + "/" + url;
}
@RequestMapping(value = {"/", "index.html"})
public String index(){
return "index";
}
@RequestMapping("index1.html")
public String index1(){
return "index1";
}
@RequestMapping("login.html")
public String login(){
return "login";
}
@RequestMapping("main.html")
public String main(){
return "main";
}
@RequestMapping("404.html")
public String notFound(){
return "404";
}
}
| [
"894075430@qq.com"
] | 894075430@qq.com |
d965976f3a557009d7d3e56965b1cca229d73339 | bd9a29b816e482278cf948a0fadcdc5583ef6528 | /src/linearList/Chain.java | 35f3930166186cf28bbd342216d2bd79b2d79242 | [] | no_license | miguel-mzbi/DataStructure | ea45a647987907958f4cf2d570b0bd47001e8281 | 701e87cac67cc6b41d9a7aeff8d43d307af7d9ce | refs/heads/master | 2020-04-12T05:32:39.169471 | 2016-11-30T21:17:08 | 2016-11-30T21:17:08 | 65,772,134 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,027 | java | package linearList;
public class Chain<Item> implements LinearList<Item>{
protected ChainNode<Item> firstNode;
protected int size;
public Chain(){
this.size = 0;
this.firstNode = new ChainNode<Item>();
}
/**
* isEmpy - returns true if chain is empty
* @return boolean true if empty false if not empty
*/
public boolean isEmpty() {
return this.size == 0;
}
/**
* size - returns size of chain
* @return integer with the size of the chain
*/
public int size() {
return this.size;
}
/**
* get - gets element on selected index
* @return element inside selected index
*/
public Item get(int index) {
if(index<0 || index>=this.size){
throw new IndexOutOfBoundsException("Index out of range");
}
ChainNode<Item> temp = this.firstNode;
for(int n = 0; n<index; n++){
temp = temp.next;
}
return temp.element;
}
/**
* indexOf - return index of the node with that element
* @return index of node with element
*/
public int indexOf(Item item) {
ChainNode<Item> temp = this.firstNode;
for(int i= 0; i<this.size; i++){
if(temp.element.equals(item)){
return i;
}
temp = temp.next;
}
return -1;
}
/**
* remove - removes node at selected index
* @return element of removed node
*/
public Item remove(int index) {
if(index<0 || index>=this.size){
throw new IndexOutOfBoundsException("Index out of range");
}
ChainNode<Item> nodeRemove;
if(index == 0){
nodeRemove = this.firstNode;
this.firstNode = nodeRemove.next;
}
else{
ChainNode<Item> prev, nxt;
prev = this.firstNode;
for(int i = 0; i<index-1;i++){
prev=prev.next;
}
nodeRemove = prev.next;
nxt = nodeRemove.next;
prev.next=nxt;
}
this.size--;
return nodeRemove.element;
}
/**
* add - inserts node to selected index
*/
public void add(int index, Item item) {
if(index<0 || index>this.size){
throw new IndexOutOfBoundsException("Index out of range");
}
if(index == 0){
ChainNode<Item> newNode = new ChainNode<Item>(item, this.firstNode);
this.firstNode = newNode;
}
else{
ChainNode<Item> prev, nxt;
prev = this.firstNode;
for(int i = 0; i<index-1;i++){
prev=prev.next;
}
nxt=prev.next;
ChainNode<Item> newNode = new ChainNode<Item>(item, nxt);
prev.next= newNode;
}
this.size++;
}
/**
* Returns all nodes's elements as a string
* @return elements of all nodes as string
*/
public String output() {
String op = "";
ChainNode<Item> temp = this.firstNode;
for(int i = 0; i<this.size; i++){
op = op + "[" + temp.element.toString()+ "]";
temp = temp.next;
}
return op;
}
private static class ChainNode<Item>{
Item element;
ChainNode<Item> next;
public ChainNode(){
this.element = null;
this.next = null;
}
@SuppressWarnings("unused")
public ChainNode(Item element){
this.element = element;
this.next = null;
}
public ChainNode(Item element, ChainNode<Item> next){
this.element = element;
this.next = next;
}
}
}
| [
"miguel.mzbi@gmail.com"
] | miguel.mzbi@gmail.com |
b9c42a3f9bb74a419837d6f43f414660f0cac4fd | c664be9dde50cb5eecea8e4c12155b7c88bdbb80 | /Data-Mining-master/Mining/src/UI/MedianQ1Q3.java | e047498e0b176ea3d77fc4a6bd551de86324b89a | [] | no_license | sinou-web/datamining | 8d566cc14f3633bef1bad46087def88502912263 | 25bd3f3c8510bfbbefb5bdfc7f32d7c5e3da7a53 | refs/heads/master | 2020-09-20T12:19:13.731796 | 2019-12-21T16:47:15 | 2019-12-21T16:47:15 | 224,474,300 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,562 | java | package UI;
import java.util.ArrayList;
public class MedianQ1Q3 {
public double mediane;
public double q1;
public double q2;
public ArrayList<Double> Datavalues;
public MedianQ1Q3(ArrayList<Double> s)
{
this.Datavalues=s;
mediane=q1=q2=0;
}
public MedianQ1Q3()
{
this.Datavalues=new ArrayList<> ( );
mediane=q1=q2=0;
}
public void CalculAll(int deb, int fin ){
double median=0;
int indecx=0,i=0;
if(fin-deb+1 % 2 == 0){
median = Datavalues.get((fin-deb)/2)+Datavalues.get((fin-deb+1)/2);
indecx=fin-deb+1;
}else {
median = Datavalues.get((fin-deb)/2);
indecx=(fin-deb)/2;
}
this.mediane=new Double ( median);
//q1
if(indecx%2==0)
{
median=(Datavalues.get(indecx/2)+Datavalues.get((indecx+1)/2))/2;
}
else
{
median = Datavalues.get((indecx)/2);
}
this.q1=new Double ( median);
//q2
if((Datavalues.size ()-indecx+1)%2==0)
{
median = Datavalues.get(Datavalues.size() -((Datavalues.size ()-indecx)/2))
+Datavalues.get(Datavalues.size ()-((Datavalues.size ()-indecx+1)/2))
/2;
}
else {
median = Datavalues.get(Datavalues.size() -((Datavalues.size ()-indecx)/2));
}
this.q2=new Double ( median);
}
//hashmap (classe,liste des instances)
//
}
| [
"moulaihassinasafaa@outlook.com"
] | moulaihassinasafaa@outlook.com |
070fadb6af78601b229060868701a9cd8f7426a5 | da091349d28f32436521949eb617da6b9e1b6640 | /src/main/java/ma/camerapack/campacksys/config/LoggingAspectConfiguration.java | 289bff7dcffa626031b61d6aa078da8ed165ae2a | [] | no_license | jaouadmed/campacksys | d114ab42f22528b4301a5a47ef98cef297850b25 | 5903bafa3c97ac1cd4ff320c5f0a94e92a54c508 | refs/heads/master | 2022-03-05T22:09:13.690496 | 2019-10-11T19:13:04 | 2019-10-11T19:13:04 | 214,512,115 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 510 | java | package ma.camerapack.campacksys.config;
import ma.camerapack.campacksys.aop.logging.LoggingAspect;
import io.github.jhipster.config.JHipsterConstants;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
@Bean
@Profile(JHipsterConstants.SPRING_PROFILE_DEVELOPMENT)
public LoggingAspect loggingAspect(Environment env) {
return new LoggingAspect(env);
}
}
| [
"jaouadmohamed0@gmail.com"
] | jaouadmohamed0@gmail.com |
9238e9dc4a8573153c2b8fbcda3731b1e16ead9e | efabddb9824c4d94b42828d275cada68ae1c9c87 | /app/src/main/java/android/example/com/miwok/FamilyActivity.java | 35bc170d7e54f6db6383328667bb0dc54fc86c9c | [] | no_license | ioanzicu/language-app-android | 5725e98ed1ddf7da208b05a52a49350a70dd1c33 | c697774a6b1539ac0bbeca6404776c12326b5e61 | refs/heads/master | 2020-12-01T21:28:57.371845 | 2019-12-31T02:52:30 | 2019-12-31T02:52:30 | 230,776,643 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 9,470 | java | package android.example.com.miwok;
import android.content.Context;
import android.media.AudioAttributes;
import android.media.AudioFocusRequest;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Build;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import java.util.ArrayList;
public class FamilyActivity extends AppCompatActivity {
/**
* Handles playback of all the sound files
*/
private MediaPlayer mMediaPlayer;
/**
* Handles audio focus when playing a sound file
*/
private AudioManager mAudioManager;
private AudioAttributes playbackAttributes;
private AudioFocusRequest mAudioFocusRequest;
private final Object mFocusLock = new Object();
/**
* This listener gets triggered whenever the audio focus changes
* (i.e., we gain or lose audio focus because of another app or device).
*/
private AudioManager.OnAudioFocusChangeListener mOnAudioFocusChangeListener = new AudioManager.OnAudioFocusChangeListener() {
@RequiresApi(api = Build.VERSION_CODES.O)
public void onAudioFocusChange(int focusChange) {
if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT ||
focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) {
// The AUDIOFOCUS_LOSS_TRANSIENT case means that we've lost audio focus for a
// short amount of time. The AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK case means that
// our app is allowed to continue playing sound but at a lower volume.
// Pause playback and reset player to the start of the file. That way, we can
// play the word from the beginning when we resume playback.
mMediaPlayer.pause();
mMediaPlayer.seekTo(0);
} else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) {
// The AUDIOFOCUS_GAIN case means we have regained focus and can resume playback.
// Resume playback
mMediaPlayer.start();
} else if (focusChange == AudioManager.AUDIOFOCUS_LOSS) {
// The AUDIOFOCUS_LOSS case means we've lost audio focus and
// Stop playback and clean up resources
// Stop playback
releaseMediaPlayer();
}
}
};
/**
* This listener gets triggered when the {@link MediaPlayer} has completed
* playing the audio file.
*/
private MediaPlayer.OnCompletionListener mCompletionListener = new MediaPlayer.OnCompletionListener() {
@Override
public void onCompletion(MediaPlayer mp) {
releaseMediaPlayer();
}
};
@RequiresApi(api = Build.VERSION_CODES.O)
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_family_members);
// Create and setup the {@link AudioManager} to request audio focus
mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
// Set AudioFocusRequest Attributes
playbackAttributes = new AudioAttributes.Builder()
.setUsage(AudioAttributes.USAGE_MEDIA)
.setContentType(AudioAttributes.CONTENT_TYPE_MUSIC)
.build();
// Build AudioFocusRequest
// AUDIOFOCUS_GAIN - request permanent audio focus from the system.
mAudioFocusRequest = new AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN)
.setAudioAttributes(playbackAttributes)
.setAcceptsDelayedFocusGain(true)
.setOnAudioFocusChangeListener(mOnAudioFocusChangeListener)
.build();
final ArrayList<Word> words = new ArrayList<Word>();
words.add(new Word("father", "әpә", R.drawable.family_father, R.raw.family_father));
words.add(new Word("mother", "әṭa", R.drawable.family_mother, R.raw.family_mother));
words.add(new Word("son", "angsi", R.drawable.family_son, R.raw.family_son));
words.add(new Word("daughter", "tune", R.drawable.family_daughter, R.raw.family_daughter));
words.add(new Word("older brother", "taachi", R.drawable.family_older_brother, R.raw.family_older_brother));
words.add(new Word("younger brother", "chalitti", R.drawable.family_younger_brother, R.raw.family_younger_brother));
words.add(new Word("older sister", "teṭe", R.drawable.family_older_sister, R.raw.family_older_sister));
words.add(new Word("younger sister", "kolliti", R.drawable.family_younger_sister, R.raw.family_younger_sister));
words.add(new Word("grandmother", "ama", R.drawable.family_grandmother, R.raw.family_grandmother));
words.add(new Word("grandfather", "paapa", R.drawable.family_grandfather, R.raw.family_grandfather));
// Create an {@link ArrayAdapter}, whose data source is a list of Strings. The
// adapter knows how to create layouts for each item in the list, using the
// simple_list_item_1.xml layout resource defined in the Android framework.
// This list item layout contains a single {@link TextView}, which the adapter will set to
// display a single word.
WordAdapter adapter = new WordAdapter(this, words, R.color.category_family);
// Find the {@link ListView} object in the view hierarchy of the {@link Activity}.
// There should be a {@link ListView} with the view ID called list, which is declared in the
// activity_numbers.xml layout file.
ListView listView = (ListView) findViewById(R.id.list);
// Make the {@link ListView} use the {@link ArrayAdapter} we created above, so that the
// {@link ListView} will display list items for each word in the list of words.
// Do this by calling the setAdapter method on the {@link ListView} object and pass in
// 1 argument, which is the {@link ArrayAdapter} with the variable name itemsAdapter.
listView.setAdapter(adapter);
// Set a click listener to play the audio when the list item is clicked on listView
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@RequiresApi(api = Build.VERSION_CODES.O)
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
// Get the {@link Word} object at the given position the user clicked on
Word word = words.get(position);
// Release the media player if it currently exists because we are about to
// play a different sound file.
releaseMediaPlayer();
// Create and setup the {@link AudioManager} to request audio focus for playback
int focusRequest = mAudioManager.requestAudioFocus(mAudioFocusRequest);
// Ensure that just one threat is running, preventing the variable {@ focusRequest} from being corrupted
// by simultaneous modifications from different threads.
synchronized (mFocusLock) {
// Received audio focus
if (focusRequest == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) {
// Create and setup the {@link MediaPlayer} for the audio resource associated with the current word
mMediaPlayer = MediaPlayer.create(FamilyActivity.this, word.getmAudioResourceId());
// Start the audio file
mMediaPlayer.start(); // no need to create prepare(); create() does that
// Setup a listener on the media player, so that we can stop and release the
// media player once the sounds has finished playing.
mMediaPlayer.setOnCompletionListener(mCompletionListener);
}
}
}
});
}
@RequiresApi(api = Build.VERSION_CODES.O)
@Override
protected void onStop() {
super.onStop();
// When the activity is stopped, release the media player resources because we won't
// be playing any more sounds.
releaseMediaPlayer();
}
/**
* Clean up the media player by releasing its resources.
*/
@RequiresApi(api = Build.VERSION_CODES.O)
private void releaseMediaPlayer() {
// If the media player is not null, then it may be currently playing a sound.
if (mMediaPlayer != null) {
// Regardless of the current state of the media player, release its resources
// because we no longer need it.
mMediaPlayer.release();
// Set the media player back to null. For our code, we've decided that
// setting the media player to null is an easy way to tell that the media player
// is not configured to play an audio file at the moment.
mMediaPlayer = null;
// Regardless of whether or not we were granted audio focus, abandon it. This also
// unregisters the AudioFocusChangeListener so we don't get anymore callbacks.
mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest);
}
}
}
| [
"ioan.zicu94@gmail.com"
] | ioan.zicu94@gmail.com |
66bdac3641408e5c6095a1377be588766dd5ca80 | a94d20a6346d219c84cc97c9f7913f1ce6aba0f8 | /felles/felles/sikkerhet/sikkerhet/src/main/java/no/nav/vedtak/sikkerhet/ContextPathHolder.java | 8083d0699528ec503ffbac64deaef8091787ae8e | [
"MIT"
] | permissive | junnae/spsak | 3c8a155a1bf24c30aec1f2a3470289538c9de086 | ede4770de33bd896d62225a9617b713878d1efa5 | refs/heads/master | 2020-09-11T01:56:53.748986 | 2019-02-06T08:14:42 | 2019-02-06T08:14:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 846 | java | package no.nav.vedtak.sikkerhet;
public class ContextPathHolder {
private static volatile ContextPathHolder instance = null;
private final String contextPath;
private ContextPathHolder(String contextPath) {
this.contextPath = contextPath;
}
public static ContextPathHolder instance() {
if (instance == null) {
throw new IllegalStateException();
}
return instance;
}
public static ContextPathHolder instance(String contextPath) {
if (instance == null) {
synchronized (ContextPathHolder.class) {
if (instance == null) {
instance = new ContextPathHolder(contextPath);
}
}
}
return instance;
}
public String getContextPath() {
return contextPath;
}
}
| [
"roy.andre.gundersen@nav.no"
] | roy.andre.gundersen@nav.no |
65733cdd6c443c7ccd891b12aaefba8888250589 | 6760835e185ea12afdaa75970ea5bfec28acab83 | /src/main/test/pdf/SToHtml2.java | 1f70f689138a1fdab5f40afa703755cf91f6816d | [] | no_license | liujunit/demo | ad722c610a0cae21946ed50c54e856f8f452c316 | 965a2eceefa9d0204672e483298ca4dbb5e4a926 | refs/heads/master | 2023-01-29T13:29:03.412449 | 2023-01-11T02:04:28 | 2023-01-11T02:04:28 | 140,728,409 | 0 | 0 | null | 2022-12-14T20:50:51 | 2018-07-12T14:59:51 | Java | UTF-8 | Java | false | false | 9,081 | java | package pdf;
import org.apache.commons.lang3.StringUtils;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.font.PDFont;
import org.apache.pdfbox.text.PDFTextStripper;
import org.apache.pdfbox.text.TextPosition;
import java.io.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class SToHtml2 {
/**
* S的pdf解析
* @param file
* @return
*/
public static StringBuffer toHtmlString(File file) throws IOException {
Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$");
PDDocument doc= PDDocument.load(file);
PDFTextStripper stripper = new PDFTextStripper() {
Map<TextPosition, Integer> renderingMode = new HashMap<TextPosition, Integer>();
@Override
protected void processTextPosition(TextPosition text) {
this.renderingMode.put(text, getGraphicsState().getTextState().getRenderingMode().intValue());
super.processTextPosition(text);
}
@Override
protected void writeString(String text, List<TextPosition> textPositions) throws IOException {
boolean flag = false;
if ("/".equals(text)) flag = true;
StringBuilder builder = new StringBuilder();
String fontFamily = "宋体";
List<TextPosition> textPositionList = new ArrayList<>();
for (int i = 0; i < textPositions.size(); i++) {
}
for (int i = 0; i < textPositions.size(); i++) {
if (flag) continue;
TextPosition textPosition = textPositions.get(i);
//获取字体大小
int fontSizeInPt = Math.round(textPosition.getFontSizeInPt()*1.5f);
if (fontSizeInPt < 0){
fontSizeInPt = Math.abs(fontSizeInPt/10);
}
//获取字体宽高
int fontWidth = Math.round(textPosition.getWidth());
int fontHeight = Math.round(textPosition.getHeight());
//计算缩进
int indent = Math.round(textPosition.getX());
//获取字体
PDFont font = textPosition.getFont();
String fontType = font.getName().substring(font.getName().indexOf("+")+1);
//Unicode码
String content = textPosition.getUnicode();
content = content.replaceAll("\\s+| "," ").replaceAll("&","&").replaceAll("\\<","<").replaceAll("\\>",">");
Integer isBold = renderingMode.get(textPosition);
if (null==isBold){
if ((i+1) < textPositions.size()){
isBold = renderingMode.get(textPositions.get(i + 1));
}else {
isBold = 0;
}
}
if ("Times New Roman".equals(fontType)) {
fontType = fontFamily;
} else {
fontFamily = fontType;
}
fontType = fontType + "+" + isBold;
if (textPositions.size()==1){
builder.append("<font height=\""+ fontHeight +"\" width=\""+ fontWidth +"\" style=\"font-family:"+ fontType +"; font-size:" + fontSizeInPt + "px; padding-left:" + indent + "px; \">" + content + "</font>");
}else {
if (i==0){
builder.append("<font height=\""+ fontHeight +"\" width=\""+ fontWidth +"\" style=\"font-family:"+ fontType +"; font-size:" + fontSizeInPt + "px; padding-left:" + indent + "px; \">" + content);
}else if (i==(textPositions.size()-1)){
builder.append(content+"</font>");
}else {
builder.append(content);
}
}
}
writeString(builder.toString());
}
};
stripper.setSuppressDuplicateOverlappingText(false);
String content = stripper.getText(doc);
String[] contentSplit = content.split("\t|\r|\n");
List<String> contentList = new ArrayList<>();
String fontFamilySize = "";
String padLeft = "";
for (String s : contentSplit) {
if (!"".equals(s)) {
String isEmpty = s.substring(s.indexOf(">") + 1, s.indexOf("</"));
if (!"".equals(isEmpty.trim().replaceAll(" ",""))) {
//判断是否是多个font标签
int count = StringUtils.countMatches(s, "</font>");
if (count > 1) {
String a1 = s.substring(0, s.indexOf(">") + 1);
String a2 = s.substring(s.indexOf(">") + 1, s.lastIndexOf("</font>"));
a2 = a2.replaceAll("</font>","").replaceAll("<font.*?>", "");
s = a1 + a2 + "</font>";
}
//判断是不是页码
String isNum = s.substring(s.indexOf(">") + 1, s.lastIndexOf("</font>")).replaceAll("\\s+|-|―","");
if (!pattern.matcher(isNum).matches()) {
Map<String, String> match = match(s);
String fontFamily = match.get("font-family");
String fontSize = match.get("font-size");
String thisPadLeft = match.get("padding-left");
if (s.substring(s.indexOf(">") + 1, s.lastIndexOf("</font>")).startsWith(" ")) {
String newThisPadLeft = thisPadLeft.substring(0, thisPadLeft.indexOf("px"));
thisPadLeft = (Integer.valueOf(newThisPadLeft) + 20) + "px";
}
String thisFontFamilySize = fontFamily + fontSize;
if (thisFontFamilySize.equals(fontFamilySize) && !thisPadLeft.equals(padLeft)) {
contentList.add(s.substring(s.indexOf(">") + 1, s.lastIndexOf("</font>")));
} else {
contentList.add(s);
fontFamilySize = thisFontFamilySize;
padLeft = thisPadLeft;
}
}
}
}
}
Map<Integer, String> contentMap = new HashMap<>();
List<Integer> index = new ArrayList<>();
for (int i = 0; i < contentList.size(); i++) {
if (contentList.get(i).contains("</font>")) {
contentMap.put(i, contentList.get(i));
index.add(i);
} else {
Set<Integer> keys = contentMap.keySet();
Integer max = Collections.max(keys);
String value = contentMap.get(max);
value = value.replace("</font>", contentList.get(i) + "</font>");
contentMap.put(max, value);
}
}
StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("<!DOCTYPE html>\n<html>\n<head></head>\n<body>\n");
for (Integer integer : index) {
String s = "<p>" + contentMap.get(integer) + "</p>" + "\n";
stringBuffer.append(s);
}
stringBuffer.append("</body>\n</html>");
doc.close();
return stringBuffer;
}
/**
* 获取style标签的属性值
* @param source 要匹配的源文本
* @return 属性值列表
*/
protected static Map<String, String> match(String source) {
Map<String, String> result = new HashMap<>();
if ("".equals(source)){
result.put("font-family","无");
result.put("font-size","0px");
result.put("padding-left","0px");
return result;
}
String reg = "style=\".*\"";
Pattern pattern = Pattern.compile(reg);
Matcher m = pattern.matcher(source);
while (m.find()) {
String r = m.group(0);
int one = r.indexOf("\"");
int second = r.indexOf("\"", one + 1);
r = r.substring(one + 1, second);
String[] rSplit = r.split(";");
for (String s : rSplit) {
if (!"".equals(s.trim())){
String[] split = s.split(":");
result.put(split[0].trim(),split[1].trim());
}
}
}
return result;
}
public static void main(String[] args) throws IOException {
File file = new File("E:\\有问题\\S01_0001.pdf");
StringBuffer stringBuffer = toHtmlString(file);
String[] split = stringBuffer.toString().split("\n");
for (String s : split) {
System.out.println(s);
}
}
}
| [
"156315348@qq.com"
] | 156315348@qq.com |
0bb076cfffdecfbf792ec809cfd6ec756567f082 | ee05c983e7a41123f17113e0a390076317a02647 | /src/dz/aosp/purelauncher/notification/NotificationMainView.java | abaec043676b48607b5106ffb78f1bf0df7b1e2c | [
"Apache-2.0"
] | permissive | temsiPatrin/AOSP-Pure-Launcher | 9dd8267b50c1a786a2ce983f6d5f567fd037a408 | 6da1bfd141c56a9be6d7363a1a6452de05562663 | refs/heads/master | 2022-02-14T12:14:16.250538 | 2019-09-11T09:39:01 | 2019-09-11T09:39:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 8,612 | java | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dz.aosp.purelauncher.notification;
import static dz.aosp.purelauncher.anim.Interpolators.scrollInterpolatorForVelocity;
import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.RippleDrawable;
import android.os.Build;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.FloatProperty;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.TextView;
import dz.aosp.purelauncher.ItemInfo;
import dz.aosp.purelauncher.Launcher;
import dz.aosp.purelauncher.R;
import dz.aosp.purelauncher.anim.AnimationSuccessListener;
import dz.aosp.purelauncher.touch.OverScroll;
import dz.aosp.purelauncher.touch.SwipeDetector;
import dz.aosp.purelauncher.userevent.nano.LauncherLogProto;
import dz.aosp.purelauncher.util.Themes;
/**
* A {@link android.widget.FrameLayout} that contains a single notification,
* e.g. icon + title + text.
*/
@TargetApi(Build.VERSION_CODES.N)
public class NotificationMainView extends FrameLayout implements SwipeDetector.Listener {
private static FloatProperty<NotificationMainView> CONTENT_TRANSLATION =
new FloatProperty<NotificationMainView>("contentTranslation") {
@Override
public void setValue(NotificationMainView view, float v) {
view.setContentTranslation(v);
}
@Override
public Float get(NotificationMainView view) {
return view.mTextAndBackground.getTranslationX();
}
};
// This is used only to track the notification view, so that it can be properly logged.
public static final ItemInfo NOTIFICATION_ITEM_INFO = new ItemInfo();
private final ObjectAnimator mContentTranslateAnimator;
private NotificationInfo mNotificationInfo;
private ViewGroup mTextAndBackground;
private int mBackgroundColor;
private TextView mTitleView;
private TextView mTextView;
private View mIconView;
private SwipeDetector mSwipeDetector;
public NotificationMainView(Context context) {
this(context, null, 0);
}
public NotificationMainView(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public NotificationMainView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
mContentTranslateAnimator = ObjectAnimator.ofFloat(this, CONTENT_TRANSLATION, 0);
}
@Override
protected void onFinishInflate() {
super.onFinishInflate();
mTextAndBackground = findViewById(R.id.text_and_background);
ColorDrawable colorBackground = (ColorDrawable) mTextAndBackground.getBackground();
mBackgroundColor = colorBackground.getColor();
RippleDrawable rippleBackground = new RippleDrawable(ColorStateList.valueOf(
Themes.getAttrColor(getContext(), android.R.attr.colorControlHighlight)),
colorBackground, null);
mTextAndBackground.setBackground(rippleBackground);
mTitleView = mTextAndBackground.findViewById(R.id.title);
mTextView = mTextAndBackground.findViewById(R.id.text);
mIconView = findViewById(R.id.popup_item_icon);
}
public void setSwipeDetector(SwipeDetector swipeDetector) {
mSwipeDetector = swipeDetector;
}
/**
* Sets the content of this view, animating it after a new icon shifts up if necessary.
*/
public void applyNotificationInfo(NotificationInfo mainNotification, boolean animate) {
mNotificationInfo = mainNotification;
NotificationListener listener = NotificationListener.getInstanceIfConnected();
if (listener != null) {
listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey});
}
CharSequence title = mNotificationInfo.title;
CharSequence text = mNotificationInfo.text;
if (!TextUtils.isEmpty(title) && !TextUtils.isEmpty(text)) {
mTitleView.setText(title.toString());
mTextView.setText(text.toString());
} else {
mTitleView.setMaxLines(2);
mTitleView.setText(TextUtils.isEmpty(title) ? text.toString() : title.toString());
mTextView.setVisibility(GONE);
}
mIconView.setBackground(mNotificationInfo.getIconForBackground(getContext(),
mBackgroundColor));
if (mNotificationInfo.intent != null) {
setOnClickListener(mNotificationInfo);
}
setContentTranslation(0);
// Add a dummy ItemInfo so that logging populates the correct container and item types
// instead of DEFAULT_CONTAINERTYPE and DEFAULT_ITEMTYPE, respectively.
setTag(NOTIFICATION_ITEM_INFO);
if (animate) {
ObjectAnimator.ofFloat(mTextAndBackground, ALPHA, 0, 1).setDuration(150).start();
}
}
public void setContentTranslation(float translation) {
mTextAndBackground.setTranslationX(translation);
mIconView.setTranslationX(translation);
}
public void setContentVisibility(int visibility) {
mTextAndBackground.setVisibility(visibility);
mIconView.setVisibility(visibility);
}
public NotificationInfo getNotificationInfo() {
return mNotificationInfo;
}
public boolean canChildBeDismissed() {
return mNotificationInfo != null && mNotificationInfo.dismissable;
}
public void onChildDismissed() {
Launcher launcher = Launcher.getLauncher(getContext());
launcher.getPopupDataProvider().cancelNotification(
mNotificationInfo.notificationKey);
launcher.getUserEventDispatcher().logActionOnItem(
LauncherLogProto.Action.Touch.SWIPE,
LauncherLogProto.Action.Direction.RIGHT, // Assume all swipes are right for logging.
LauncherLogProto.ItemType.NOTIFICATION);
}
// SwipeDetector.Listener's
@Override
public void onDragStart(boolean start) { }
@Override
public boolean onDrag(float displacement, float velocity) {
setContentTranslation(canChildBeDismissed()
? displacement : OverScroll.dampedScroll(displacement, getWidth()));
mContentTranslateAnimator.cancel();
return true;
}
@Override
public void onDragEnd(float velocity, boolean fling) {
final boolean willExit;
final float endTranslation;
final float startTranslation = mTextAndBackground.getTranslationX();
if (!canChildBeDismissed()) {
willExit = false;
endTranslation = 0;
} else if (fling) {
willExit = true;
endTranslation = velocity < 0 ? - getWidth() : getWidth();
} else if (Math.abs(startTranslation) > getWidth() / 2) {
willExit = true;
endTranslation = (startTranslation < 0 ? -getWidth() : getWidth());
} else {
willExit = false;
endTranslation = 0;
}
long duration = SwipeDetector.calculateDuration(velocity,
(endTranslation - startTranslation) / getWidth());
mContentTranslateAnimator.removeAllListeners();
mContentTranslateAnimator.setDuration(duration)
.setInterpolator(scrollInterpolatorForVelocity(velocity));
mContentTranslateAnimator.setFloatValues(startTranslation, endTranslation);
mContentTranslateAnimator.addListener(new AnimationSuccessListener() {
@Override
public void onAnimationSuccess(Animator animator) {
mSwipeDetector.finishedScrolling();
if (willExit) {
onChildDismissed();
}
}
});
mContentTranslateAnimator.start();
}
}
| [
"abdelkader.sellami@cevital.com"
] | abdelkader.sellami@cevital.com |
6dbf029313b9f696c042d3a7708a15af7870746e | 5e2759229f454b8d460aa9a01dff3d5c8eb1c815 | /backend/src/test/java/hu/elte/housework/HouseWorkApplicationTests.java | 0b46a783e1b89f7cfcfe9cdddd66c136c7ceb960 | [] | no_license | thelfter/housework-app | d2e77b7d11d4e14075bfe9e7a5a9076b8b5e31ba | 82bc5b3b72440bfd9e8b8d4db2caae845a080d36 | refs/heads/master | 2020-03-28T21:22:35.499868 | 2018-12-17T07:58:56 | 2018-12-17T07:58:56 | 149,150,151 | 0 | 0 | null | 2018-12-15T21:34:48 | 2018-09-17T15:52:02 | TypeScript | UTF-8 | Java | false | false | 337 | java | package hu.elte.housework;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class HouseWorkApplicationTests {
@Test
public void contextLoads() {
}
}
| [
"n0qsdc@inf.elte.hu"
] | n0qsdc@inf.elte.hu |
0833b76c13f3261eee06dd63654eb6b96e8c93e1 | 374f46b6de8a2c8037b08b7cce17c00320c22c50 | /PaperbuilderState/src/PaperBuilder.java | 02bcc375998ad3dc6799c7f8775ba283bda9ab52 | [] | no_license | hariprasadberelli/State-pattern-with-builder- | 6dba9ad2ba3a58cda3b7a24b382d7cd3a9c564de | c2c2ea0d14df4b2a6abf9624b4baa9fad5395761 | refs/heads/main | 2023-08-22T19:17:04.782329 | 2021-10-09T02:58:38 | 2021-10-09T02:58:38 | 415,185,182 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 455 | java |
public abstract class PaperBuilder {
String name ;
PaperType type ;
public abstract void addPages();
public abstract void addingSomeElements();
public abstract void changeSomeElements();
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public PaperType getType() {
return type;
}
public void setType(PaperType type) {
this.type = type;
}
}
| [
"noreply@github.com"
] | hariprasadberelli.noreply@github.com |
7e2c7b98de41506159bf298381fb52a6c8f2c7d1 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/4/4_dbc830651a76a064625d81bc15106c25e8fcedbc/ConfigureSynchronizeScheduleComposite/4_dbc830651a76a064625d81bc15106c25e8fcedbc_ConfigureSynchronizeScheduleComposite_t.java | 55e93cf239cad3599c82df1731d46529dfe48971 | [] | no_license | zhongxingyu/Seer | 48e7e5197624d7afa94d23f849f8ea2075bcaec0 | c11a3109fdfca9be337e509ecb2c085b60076213 | refs/heads/master | 2023-07-06T12:48:55.516692 | 2023-06-22T07:55:56 | 2023-06-22T07:55:56 | 259,613,157 | 6 | 2 | null | 2023-06-22T07:55:57 | 2020-04-28T11:07:49 | null | UTF-8 | Java | false | false | 7,618 | java | /*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.internal.ui.synchronize;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.*;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.*;
import org.eclipse.team.internal.ui.Policy;
import org.eclipse.team.internal.ui.Utils;
import org.eclipse.team.ui.synchronize.SubscriberParticipant;
/**
* A composite that allows editing a subscriber refresh schedule. A validator can be used to allow
* containers to show page completiong.
*
* @since 3.0
*/
public class ConfigureSynchronizeScheduleComposite extends Composite {
private SubscriberRefreshSchedule schedule;
private Button userRefreshOnly;
private Button enableBackgroundRefresh;
private Text time;
private Combo hoursOrSeconds;
private String errorMessage;
private IPageValidator validator;
public ConfigureSynchronizeScheduleComposite(Composite parent, SubscriberRefreshSchedule schedule, IPageValidator validator) {
super(parent, SWT.NONE);
this.schedule = schedule;
this.validator = validator;
createMainDialogArea(parent);
}
private void initializeValues() {
boolean enableBackground = schedule.isEnabled();
boolean hours = false;
userRefreshOnly.setSelection(! enableBackground);
enableBackgroundRefresh.setSelection(enableBackground);
long seconds = schedule.getRefreshInterval();
if(seconds <= 60) {
seconds = 60;
}
long minutes = seconds / 60;
if(minutes >= 60) {
minutes = minutes / 60;
hours = true;
}
hoursOrSeconds.select(hours ? 0 : 1);
time.setText(Long.toString(minutes));
}
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
*/
protected void createMainDialogArea(Composite parent) {
final GridLayout gridLayout = new GridLayout();
gridLayout.numColumns = 2;
setLayout(gridLayout);
setLayoutData(new GridData());
Composite area = this;
createWrappingLabel(area, Policy.bind("ConfigureRefreshScheduleDialog.1", schedule.getParticipant().getName()), 0, 2); //$NON-NLS-1$
{
final Label label = new Label(area, SWT.WRAP);
final GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.horizontalSpan = 2;
label.setLayoutData(gridData);
label.setText(Policy.bind("ConfigureRefreshScheduleDialog.1a", SubscriberRefreshSchedule.refreshEventAsString(schedule.getLastRefreshEvent()))); //$NON-NLS-1$
}
{
userRefreshOnly = new Button(area, SWT.RADIO);
final GridData gridData = new GridData();
gridData.horizontalSpan = 2;
userRefreshOnly.setLayoutData(gridData);
userRefreshOnly.setText(Policy.bind("ConfigureRefreshScheduleDialog.2")); //$NON-NLS-1$
userRefreshOnly.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
updateEnablements();
}
public void widgetDefaultSelected(SelectionEvent e) {
}
});
}
{
enableBackgroundRefresh = new Button(area, SWT.RADIO);
final GridData gridData = new GridData();
gridData.horizontalSpan = 2;
enableBackgroundRefresh.setLayoutData(gridData);
enableBackgroundRefresh.setText(Policy.bind("ConfigureRefreshScheduleDialog.3")); //$NON-NLS-1$
enableBackgroundRefresh.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
updateEnablements();
}
public void widgetDefaultSelected(SelectionEvent e) {
}
});
}
{
final Composite composite = new Composite(area, SWT.NONE);
final GridData gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_VERTICAL | GridData.VERTICAL_ALIGN_BEGINNING);
gridData.horizontalSpan = 2;
composite.setLayoutData(gridData);
final GridLayout gridLayout_1 = new GridLayout();
gridLayout_1.numColumns = 3;
composite.setLayout(gridLayout_1);
{
final Label label = new Label(composite, SWT.NONE);
label.setText(Policy.bind("ConfigureRefreshScheduleDialog.4")); //$NON-NLS-1$
}
{
time = new Text(composite, SWT.BORDER | SWT.RIGHT);
final GridData gridData_1 = new GridData();
gridData_1.widthHint = 35;
time.setLayoutData(gridData_1);
time.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
updateEnablements();
}
});
}
{
hoursOrSeconds = new Combo(composite, SWT.READ_ONLY);
hoursOrSeconds.setItems(new String[] { Policy.bind("ConfigureRefreshScheduleDialog.5"), Policy.bind("ConfigureRefreshScheduleDialog.6") }); //$NON-NLS-1$ //$NON-NLS-2$
hoursOrSeconds.setLayoutData(new GridData());
}
}
initializeValues();
}
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#okPressed()
*/
public void saveValues() {
int hours = hoursOrSeconds.getSelectionIndex();
long seconds = Long.parseLong(time.getText());
if(hours == 0) {
seconds = seconds * 3600;
} else {
seconds = seconds * 60;
}
schedule.setRefreshInterval(seconds);
if(schedule.isEnabled() != enableBackgroundRefresh.getSelection()) {
schedule.setEnabled(enableBackgroundRefresh.getSelection(), true /* allow to start */);
}
// update schedule
SubscriberParticipant participant = schedule.getParticipant();
if (!participant.isPinned() && schedule.isEnabled()) {
participant.setPinned(MessageDialog.openQuestion(getShell(),
Policy.bind("ConfigureSynchronizeScheduleComposite.0", Utils.getTypeName(participant)), //$NON-NLS-1$
Policy.bind("ConfigureSynchronizeScheduleComposite.1", Utils.getTypeName(participant)))); //$NON-NLS-1$
}
participant.setRefreshSchedule(schedule);
}
/* (non-Javadoc)
* @see org.eclipse.team.internal.ui.dialogs.DetailsDialog#updateEnablements()
*/
public void updateEnablements() {
try {
long number = Long.parseLong(time.getText());
if(number <= 0) {
validator.setComplete(Policy.bind("ConfigureRefreshScheduleDialog.7")); //$NON-NLS-1$
} else {
validator.setComplete(null);
}
} catch (NumberFormatException e) {
validator.setComplete(Policy.bind("ConfigureRefreshScheduleDialog.8")); //$NON-NLS-1$
}
time.setEnabled(enableBackgroundRefresh.getSelection());
hoursOrSeconds.setEnabled(enableBackgroundRefresh.getSelection());
}
protected void setErrorMessage(String error) {
this.errorMessage = error;
}
public String getErrorMessage() {
return errorMessage;
}
private Label createWrappingLabel(Composite parent, String text, int indent, int horizontalSpan) {
Label label = new Label(parent, SWT.LEFT | SWT.WRAP);
label.setText(text);
GridData data = new GridData();
data.horizontalSpan = horizontalSpan;
data.horizontalAlignment = GridData.FILL;
data.horizontalIndent = indent;
data.grabExcessHorizontalSpace = true;
data.widthHint = 400;
label.setLayoutData(data);
return label;
}
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
2c3f716c4eb42588e6c35be17138f3056da56522 | 7d745123fa4405d1833392be7752fd44026bb57d | /src/levels/OnlineGame.java | dbbb188cfa03fc1789d257dd7113a52c3aaf9e35 | [] | no_license | bojakf/game | b897f35686ae0e8fb1be3a354370aeaa1d4d6e5a | 9be4c0705761adfdc2df413656ca0c4a9c17ece9 | refs/heads/master | 2021-01-20T02:07:18.066077 | 2017-05-24T12:48:12 | 2017-05-24T12:48:12 | 89,376,316 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,370 | java | package levels;
import java.net.InetAddress;
import org.lwjgl.opengl.GL11;
import components.Player;
import gameobject.Gameobject;
import main.Game;
import main.Main;
import main.Primitives;
import map.CameraController;
import map.Map;
import network.Network;
import physics.Physics;
import physics.Vector;
import ui.Ui;
import ui.WeaponSelectUi;
/**
*
* This is the the level for online Games
*
* @author jafi2
*
*/
public class OnlineGame extends Level {
/**
* This value is only used by server
*/
private Thread physicsThread;
/**
* The ui for the user of this application may be client or server
*/
private Ui ui;
/**
* Join a server
* @param serverAdress the adress of the server
* @param port the port of the server
*/
public OnlineGame(InetAddress serverAdress, int port) {
Game.net = Network.connectToServer(serverAdress, port);
CameraController.mapSizeX = Game.QUADS_X*2;
CameraController.mapSizeY = Game.QUADS_Y*2;
init();
}
/**
* Create a server
* @param port the port of the server
*/
public OnlineGame(int port) {
Game.net = Network.createServer(port);
physicsThread = new Thread(physicsRunnable = new PhysicsRunnable(), "Physics");
physicsThread.start();
new Map();
Gameobject player = Primitives.player.create(new Vector(10, 10));
((Player)player.getComponent(Player.class)).setPlayerID(0);
player.init();
init();
}
private void init() {
ui = new Ui();
new WeaponSelectUi(ui, Game.net.playerID);
}
@Override
public void update(double deltaTime) {
ui.update(deltaTime);
}
@Override
public void render() {
GL11.glTranslated(-Game.camX*Game.QUAD_SIZE+Game.WORLD_OFFSET_X*Game.QUAD_SIZE, -Game.camY*Game.QUAD_SIZE+Game.WORLD_OFFSET_X*Game.QUAD_SIZE, 0);
Physics.drawColliders();
GL11.glTranslated(Game.camX*Game.QUAD_SIZE-Game.WORLD_OFFSET_X*Game.QUAD_SIZE, Game.camY*Game.QUAD_SIZE-Game.WORLD_OFFSET_X*Game.QUAD_SIZE, 0);
ui.render();
}
@Override
public void onClose() {
Game.net.close();
physicsRunnable.stop();
}
/**
* The runnable of the physics thread
* TODO move this to physics thread
*/
private PhysicsRunnable physicsRunnable;
/**
*
* Used to run a physics thread
*
* @author jafi2
*
*/
private class PhysicsRunnable implements Runnable {
/**
* Should the physics thread stop
*/
private boolean stop = false;
@Override
public void run() {
//Max Physics update rate
final double MAX_UPDATES_PER_SECOND = 60;
double last = System.nanoTime();
while(!Main.isClosing && !stop) {
double now = System.nanoTime();
double deltaTime = (now-last)/1000000000d;
if(1/deltaTime > MAX_UPDATES_PER_SECOND) {
double sleepTime = (1/MAX_UPDATES_PER_SECOND - deltaTime)*1000;
try {
Thread.sleep((long) sleepTime);
} catch (InterruptedException e) {
e.printStackTrace();
}
now = System.nanoTime();
deltaTime = (now-last)/1000000000d;
}
last = now;
Physics.physicsUpdate(deltaTime);
}
}
/**
* Stops the physics thread
*/
public void stop() {
stop = true;
}
};
}
| [
"jafi2001@gmail.com"
] | jafi2001@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.