Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.76ms] Passed 4 tests
Server-side resources used by CustomEasy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.92 ▼2.82 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.71 ▼5.07 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.28 ▼6.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.42 ▼12.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.35 ▼1.59 |
CustomEasy /wp-admin/themes.php?page=customeasy_global | 3.25 | 32.75 |
Server storage [IO: ▲6.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 372 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by CustomEasy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.26 ▼0.11 | 1.71 ▲0.14 | 41.37 ▼1.73 |
Dashboard /wp-admin | 2,199 ▲22 | 5.68 ▲0.00 | 87.68 ▼1.07 | 40.90 ▼1.79 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.02 ▼0.03 | 37.45 ▲1.21 | 34.50 ▼0.23 |
Add New Post /wp-admin/post-new.php | 6,396 ▲4,851 | 24.18 ▲0.79 | 985.15 ▲283.06 | 106.89 ▲54.43 |
Media Library /wp-admin/upload.php | 1,395 ▼5 | 4.24 ▲0.10 | 97.54 ▼14.07 | 42.15 ▼5.79 |
CustomEasy /wp-admin/themes.php?page=customeasy_global | 953 | 3.30 | 70.71 | 42.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customeasy/metabox.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/customeasy/global_codes.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/customeasy/customEasy.php:17
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: enqueuing, frontend, custom code, css, jquery...
customeasy/customEasy.php 92% from 13 tests
The primary PHP file in "CustomEasy" version 1.01 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("customeasy.php" instead of "customEasy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,704 lines of code in 361 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 14 | 98 | 19 | 748 |
JavaScript | 339 | 25 | 1 | 468 |
PHP | 3 | 63 | 36 | 228 |
CSS | 1 | 38 | 0 | 190 |
XML | 1 | 2 | 2 | 28 |
JSON | 1 | 0 | 0 | 18 |
Markdown | 1 | 8 | 0 | 13 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/ace/demo/bookmarklet/images/ace.png | 23.79KB | 9.38KB | ▼ 60.56% |
js/ace/demo/bookmarklet/images/background.png | 3.36KB | 0.55KB | ▼ 83.66% |
js/ace/demo/bookmarklet/images/logo_half.png | 19.52KB | 6.47KB | ▼ 66.84% |
js/ace/demo/bookmarklet/images/body_background.png | 2.94KB | 0.58KB | ▼ 80.32% |
js/ace/demo/bookmarklet/images/fork_on_github.png | 18.09KB | 5.96KB | ▼ 67.07% |