Showing 9,050 of 9,050 total issues
File XMenu.java
has 445 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.ambient.domain.tables.pojos;
File MyFavor.java
has 445 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.tpl.domain.tables.pojos;
File FSubject.java
has 445 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.fm.domain.tables.pojos;
IUiList
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface IUiList extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.UI_LIST.KEY</code>. 「key」- 主键
TVendorCheckInRecord
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TVendorCheckInRecord extends UpdatableRecordImpl<TVendorCheckInRecord> implements VertxPojo, Record7<String, String, String, LocalDateTime, LocalDateTime, Integer, LocalDateTime>, ITVendorCheckIn {
private static final long serialVersionUID = 1L;
ILLocation
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface ILLocation extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.L_LOCATION.KEY</code>. 「key」- 主键
SPacketDao
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SPacketDao extends AbstractVertxDAO<SPacketRecord, cn.vertxup.rbac.domain.tables.pojos.SPacket, String, Future<List<cn.vertxup.rbac.domain.tables.pojos.SPacket>>, Future<cn.vertxup.rbac.domain.tables.pojos.SPacket>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<SPacketRecord,cn.vertxup.rbac.domain.tables.pojos.SPacket,String> {
/**
* @param configuration The Configuration used for rendering and query
XActivityRuleDao
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class XActivityRuleDao extends AbstractVertxDAO<XActivityRuleRecord, cn.vertxup.ambient.domain.tables.pojos.XActivityRule, String, Future<List<cn.vertxup.ambient.domain.tables.pojos.XActivityRule>>, Future<cn.vertxup.ambient.domain.tables.pojos.XActivityRule>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<XActivityRuleRecord,cn.vertxup.ambient.domain.tables.pojos.XActivityRule,String> {
/**
* @param configuration The Configuration used for rendering and query
IXLinkage
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface IXLinkage extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.X_LINKAGE.KEY</code>. 「key」- 连接主键
IXNumber
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface IXNumber extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.X_NUMBER.KEY</code>. 「key」- 主键
PWhDao
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PWhDao extends AbstractVertxDAO<PWhRecord, cn.vertxup.psi.domain.tables.pojos.PWh, String, Future<List<cn.vertxup.psi.domain.tables.pojos.PWh>>, Future<cn.vertxup.psi.domain.tables.pojos.PWh>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<PWhRecord,cn.vertxup.psi.domain.tables.pojos.PWh,String> {
/**
* @param configuration The Configuration used for rendering and query
ITplTicket
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface ITplTicket extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.TPL_TICKET.KEY</code>. 「key」- 增量记录ID
IMySetting
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface IMySetting extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.MY_SETTING.KEY</code>. 「key」- 个人设置主键
IFSettlementItem
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface IFSettlementItem extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.F_SETTLEMENT_ITEM.KEY</code>. 「key」- 结算单明细主键
IDirectoryDao
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class IDirectoryDao extends AbstractVertxDAO<IDirectoryRecord, cn.vertxup.integration.domain.tables.pojos.IDirectory, String, Future<List<cn.vertxup.integration.domain.tables.pojos.IDirectory>>, Future<cn.vertxup.integration.domain.tables.pojos.IDirectory>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<IDirectoryRecord,cn.vertxup.integration.domain.tables.pojos.IDirectory,String> {
/**
* @param configuration The Configuration used for rendering and query
IMField
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface IMField extends VertxPojo, Serializable {
/**
* Setter for <code>DB_ETERNAL.M_FIELD.KEY</code>. 「key」- 字段ID
Similar blocks of code found in 2 locations. Consider refactoring. Open
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.erp.domain.tables.daos;
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 410.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.rbac.domain.tables.daos;
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 410.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
File LRegionRecord.java
has 443 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.lbs.domain.tables.records;
File LYardRecord.java
has 443 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.lbs.domain.tables.records;