Showing 509 of 1,320 total issues
File smd.js
has 2791 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna");
if (typeof YAHOO.lacuna.SMD == "undefined" || !YAHOO.lacuna.SMD) {
(function(){
var smd = {
File tradeMinistry.js
has 2369 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna.buildings");
if (typeof YAHOO.lacuna.buildings.Trade == "undefined" || !YAHOO.lacuna.buildings.Trade) {
(function(){
File transporter.js
has 1700 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna.buildings");
if (typeof YAHOO.lacuna.buildings.Transporter == "undefined" || !YAHOO.lacuna.buildings.Transporter) {
(function(){
File mapStar.js
has 1474 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna");
var _ = require('lodash');
if (typeof YAHOO.lacuna.MapStar == "undefined" || !YAHOO.lacuna.MapStar) {
File mapper.js
has 1429 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna");
var $ = require('js/shims/jquery');
if (typeof YAHOO.lacuna.Mapper == "undefined" || !YAHOO.lacuna.Mapper) {
File spacePort.js
has 1301 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Stuff to do for FleetSend:
// Make sure clicking send only sends the correct ship
// On click of "Get Available Groups of Ships for Target" disable sends that would not arrive before arrival time.
YAHOO.namespace("lacuna.buildings");
File parliament.js
has 1247 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna.modules");
if (typeof YAHOO.lacuna.modules.Parliament == "undefined" || !YAHOO.lacuna.modules.Parliament) {
(function(){
File stats.js
has 1179 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
var StatsWindowActions = require('js/actions/windows/stats');
var _ = require('lodash');
File embassy.js
has 1126 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna.buildings");
if (typeof YAHOO.lacuna.buildings.Embassy == "undefined" || !YAHOO.lacuna.buildings.Embassy) {
(function(){
File messaging.js
has 1084 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
var MailWindowActions = require('js/actions/windows/mail');
var _ = require('lodash');
File mapPlanet.js
has 925 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna");
var _ = require('lodash');
var WindowManagerActions = require('js/actions/windowManager');
Function _getCreateTab
has 402 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_getCreateTab : function() {
this.createEvent("onAllianceMembers");
var opts = ['<option value="proposeWrit" selected>Writ</option>'],
dis = [], getAllianceMembers;
File game.jsx
has 798 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
YAHOO.namespace('lacuna');
var React = require('react');
File profile.js
has 669 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
YAHOO.namespace("lacuna");
var _ = require('lodash');
Function _buildBuilderPanel
has 287 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_buildBuilderPanel : _.once(function() {
var panelId = "buildingBuilder";
var panel = document.createElement("div");
panel.id = panelId;
Function _buildPlanetDetailsPanel
has 272 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_buildPlanetDetailsPanel : _.once(function() {
var panelId = "planetDetails";
var panel = document.createElement("div");
panel.id = panelId;
panel.innerHTML = ['<div class="hd">Details</div>',
File archaeology.js
has 586 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna.buildings");
if (typeof YAHOO.lacuna.buildings.Archaeology == "undefined" || !YAHOO.lacuna.buildings.Archaeology) {
(function(){
File intelligence.js
has 550 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna.buildings");
if (typeof YAHOO.lacuna.buildings.Intelligence == "undefined" || !YAHOO.lacuna.buildings.Intelligence) {
(function(){
File textboxList.js
has 545 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna");
//only load this once
if (typeof YAHOO.lacuna.TextboxList == "undefined" || !YAHOO.lacuna.TextboxList) {
File speciesDesigner.js
has 544 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
YAHOO.namespace("lacuna");
if (typeof YAHOO.lacuna.SpeciesDesigner == "undefined" || !YAHOO.lacuna.SpeciesDesigner) {
(function(){