Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼1.22ms] Passed 4 tests
This is a short check of server-side resources used by Easy Code Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 39.77 ▼3.56 |
Dashboard /wp-admin | 3.88 ▲0.58 | 53.86 ▲0.68 |
Posts /wp-admin/edit.php | 3.99 ▲0.64 | 48.89 ▲0.54 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.59 | 99.93 ▼2.54 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 43.01 ▲5.20 |
Easy Code Manager /wp-admin/admin.php?page=ecm | 3.86 | 39.87 |
Server storage [IO: ▲5.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 605 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
state.CJTInstallerModel.operations |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Code Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲149 | 13.27 ▼1.10 | 2.16 ▲0.47 | 45.02 ▲5.10 |
Dashboard /wp-admin | 2,294 ▲91 | 5.87 ▲0.95 | 98.30 ▼13.65 | 79.38 ▲33.44 |
Posts /wp-admin/edit.php | 2,173 ▲70 | 2.09 ▲0.10 | 43.06 ▲6.83 | 43.98 ▲7.62 |
Add New Post /wp-admin/post-new.php | 1,602 ▲71 | 23.15 ▼0.10 | 747.46 ▲63.65 | 34.98 ▼14.16 |
Media Library /wp-admin/upload.php | 1,464 ▲64 | 4.33 ▲0.13 | 103.08 ▼12.86 | 79.51 ▲30.12 |
Easy Code Manager /wp-admin/admin.php?page=ecm | 912 | 1.76 | 26.25 | 42.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- state.CJTInstallerModel.operations
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 take a closer look at the following
- 92× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/easy-code-manager/views/dashboard/metabox/statistics/view.php
- > /wp-content/plugins/easy-code-manager/framework/developer/interface/block/shortcode/parameters/types/list.php
- > /wp-content/plugins/easy-code-manager/access.points/manage.accesspoint.php
- > /wp-content/plugins/easy-code-manager/framework/extensions/extensions.class.php
- > /wp-content/plugins/easy-code-manager/framework/autoload/loader.php
- > /wp-content/plugins/easy-code-manager/views/blocks/block/view.php
- > /wp-content/plugins/easy-code-manager/tables/parameter-typedef.php
- > /wp-content/plugins/easy-code-manager/framework/developer/lib/template/template.php
- > /wp-content/plugins/easy-code-manager/tables/pins-blocks-view.php
- > /wp-content/plugins/easy-code-manager/framework/developer/interface/block/parameters/types/base/scalar.php
- 61× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'cssJSToolbox' not found in wp-content/plugins/easy-code-manager/views/extensions/plugins-list/public/js/extensions/extensions.localization.php:13
- > PHP Fatal error
Uncaught Error: Class 'CJT_Framework_Developer_Interface_Block_Shortcode_Parameters_Base_Abstract' not found in wp-content/plugins/easy-code-manager/framework/developer/interface/block/shortcode/parameters/base/scalar.php:9
- > PHP Fatal error
Uncaught Error: Class 'cssJSToolbox' not found in wp-content/plugins/easy-code-manager/views/blocks/new/public/js/add-new-block/add-new-block.localization.php:13
- > PHP Warning
Use of undefined constant CJTOOLBOX_MODELS_PATH - assumed 'CJTOOLBOX_MODELS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-code-manager/views/blocks/manager/view.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'cssJSToolbox' not found in wp-content/plugins/easy-code-manager/views/installer/notice/public/js/default/default.localization.php:13
- > PHP Fatal error
Uncaught Error: Class 'CJT_Models_Block_Assignmentpanel_Postbase' not found in wp-content/plugins/easy-code-manager/models/block/assignmentpanel/post.php:9
- > PHP Fatal error
Uncaught Error: Class 'CJTController' not found in wp-content/plugins/easy-code-manager/framework/mvc/controller-ajax.inc.php:9
- > PHP Fatal error
require_once(): Failed opening required 'CJTOOLBOX_MODELS_PATH/block.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-code-manager/views/blocks/manager/view.php on line 7
- > PHP Warning
require_once(CJTOOLBOX_FRAMEWORK/autoload/loader.php): failed to open stream: No such file or directory in wp-content/plugins/easy-code-manager/autoload.inc.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'CJT_Models_Block_Assignmentpanel_Wordpress' not found in wp-content/plugins/easy-code-manager/models/block/assignmentpanel/postbase.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
- Requires php: Version not formatted correctly
- Requires at least: Version not formatted correctly
easy-code-manager/easy-code-manager.php 85% from 13 tests
"Easy Code Manager" version 10...'s primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "10...")
- Description: Please keep the plugin description shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin44,657 lines of code in 439 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 35 | 805 | 207 | 20,040 |
PHP | 238 | 3,059 | 10,628 | 9,407 |
LESS | 86 | 1,222 | 1,585 | 7,541 |
JavaScript | 57 | 1,120 | 3,199 | 3,856 |
SVG | 5 | 1 | 0 | 1,774 |
Sass | 13 | 28 | 24 | 1,520 |
JSON | 3 | 0 | 0 | 388 |
SQL | 1 | 12 | 27 | 116 |
HTML | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 8 | |
Traits | 0 | |
Classes | 193 | |
▷ Abstract classes | 46 | 23.83% |
▷ Concrete classes | 147 | 76.17% |
▷ Final classes | 1 | 0.68% |
Methods | 983 | |
▷ Static methods | 92 | 9.36% |
▷ Public methods | 848 | 86.27% |
▷ Protected methods | 124 | 12.61% |
▷ Private methods | 11 | 1.12% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 178 | |
▷ Global constants | 57 | 32.02% |
▷ Class constants | 121 | 67.98% |
▷ Public constants | 121 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
69 PNG files occupy 0.23MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
CJTChecker/jQueryDialogCSS/images/ui-icons_ff7519_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
CJTChecker/jQueryDialogCSS/images/ui-icons_efec9f_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
CJTChecker/jQueryDialogCSS/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
CJTChecker/jQueryDialogCSS/images/ui-icons_e8e2b5_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
CJTChecker/jQueryDialogCSS/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |