10% kickstart-management

Code Review | KickStart Management

WordPress plugin KickStart Management scored10%from 54 tests.

About plugin

  • Plugin page: kickstart-management
  • Plugin version: 1.2.4
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9.8
  • WordPress version: 6.3.1
  • First release: Aug 13, 2018
  • Latest release: Aug 14, 2018
  • Number of updates: 28
  • Update frequency: every 0.1 days
  • Top authors: prahar (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /5,006 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/kickstart-management/kickstart-management.php+336
    Non-static method KickStart49::ks49_main() should not be called statically

Server metrics [RAM: ▼1.89MB] [CPU: ▼56.46ms] Passed 4 tests

This is a short check of server-side resources used by KickStart Management
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.10 ▼1.366.18 ▼38.58
Dashboard /wp-admin2.12 ▼1.1910.38 ▼38.90
Posts /wp-admin/edit.php2.12 ▼1.246.86 ▼54.36
Add New Post /wp-admin/post-new.php2.12 ▼3.776.42 ▼94.01
Media Library /wp-admin/upload.php2.12 ▼1.115.74 ▼30.00
Projects /wp-admin/admin.php?page=KickStart/CRM_Management2.125.51
Users /wp-admin/admin.php?page=KickStart_Management2.126.61

Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 31 new files
Database: 2 new tables, 6 new options
New tables
wp_ks49_employee
wp_ks49_customer
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for KickStart Management
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲7714.41 ▼0.011.94 ▲0.0945.59 ▲1.56
Dashboard /wp-admin2,229 ▲535.85 ▼0.04103.44 ▼21.6841.67 ▼13.22
Posts /wp-admin/edit.php2,112 ▲202.05 ▲0.0434.38 ▼4.6133.02 ▼3.86
Add New Post /wp-admin/post-new.php1,552 ▲1823.22 ▲0.14674.64 ▲50.4048.57 ▼1.53
Media Library /wp-admin/upload.php1,414 ▲264.07 ▼0.24113.53 ▲10.8747.56 ▲1.52
Projects /wp-admin/admin.php?page=KickStart/CRM_Management1,6302.8663.5657.29
Users /wp-admin/admin.php?page=KickStart_Management6811.357.1021.12

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/kickstart-management/kickstart-management.php+336
    Non-static method KickStart49::ks49_main() should not be called statically
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=KickStart_Management
    • > Deprecated in wp-content/plugins/kickstart-management/kickstart-management.php+336
    Non-static method KickStart49::ks49_main() should not be called statically
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method KickStart49::ks49_manage() should not be called statically
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-content/plugins/kickstart-management/kickstart-management.php+147
    Non-static method KickStart49::ks49_userRole() should not be called statically
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-content/plugins/kickstart-management/kickstart-management.php+148
    Non-static method KickStart49::ks49_userName() should not be called statically
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=KickStart_Management
    • > Deprecated in wp-content/plugins/kickstart-management/kickstart-management.php+164
    Non-static method KickStart49::ks49_dbConnect() should not be called statically
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Warning in wp-content/plugins/kickstart-management/functionalities/manage/kickstart_manage.php+158
    mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-content/plugins/kickstart-management/functionalities/manage/kickstart_manage.php+164
    Non-static method ks49_manage_design::ks49_manage_projectStatus() should not be called statically
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-content/plugins/kickstart-management/functionalities/manage/kickstart_manage.php+170
    Non-static method ks49_manage_design::ks49_manage_navigation() should not be called statically
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-content/plugins/kickstart-management/functionalities/manage/kickstart_manage.php+177
    Non-static method ks49_manage_design::ks49_manage_customerStatus1() should not be called statically
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Warning in wp-content/plugins/kickstart-management/functionalities/manage/kickstart_manage.php+353
    mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-content/plugins/kickstart-management/functionalities/manage/kickstart_manage.php+190
    Non-static method ks49_manage_design::ks49_manage_customerStatus3() should not be called statically
    • > GET request to /wp-admin/admin.php?page=KickStart/CRM_Management
    • > Deprecated in wp-content/plugins/kickstart-management/functionalities/manage/kickstart_manage.php+198
    Non-static method ks49_manage_design::ks49_manage_assignProject1() should not be called statically
    • > GET request to /wp-admin/admin.php?page=KickStart_Management
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method KickStart49::ks49_employee() should not be called statically

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/kickstart-management/kickstart-management.php:53

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Contributors: Plugin contributors field is missing
  • Tags: You are using too many tags: 17 tag instead of maximum 10
You can look at the official readme.txt

kickstart-management/kickstart-management.php Passed 13 tests

The primary PHP file in "KickStart Management" version 1.2.4 is used by WordPress to initiate all plugin functionality
115 characters long description:
A Solution For Company To Manage Its Employees By Tracking Real Time Projects And Tasks With Customer Relationship.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,847 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP172211261,526
JavaScript4014168
CSS4315153

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity8.43
▷ Minimum class complexity2.00
▷ Maximum class complexity24.00
Average method complexity1.95
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods55
▷ Static methods11.82%
▷ Public methods2647.27%
▷ Protected methods00.00%
▷ Private methods2952.73%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/sort_both.png0.20KB0.29KB0.00%
assets/images/sort_desc.png0.15KB0.25KB0.00%
assets/images/sort_asc.png0.16KB0.25KB0.00%