Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.68ms] Passed 4 tests
Server-side resources used by Amigo Extensions
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.14 ▲0.27 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.87 ▼6.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.27 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 133.52 ▲43.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.68 ▲3.65 |
Server storage [IO: ▲6.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 104 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Amigo Extensions
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.09 | 1.80 ▼0.06 | 42.24 ▲0.82 |
Dashboard /wp-admin | 2,209 ▲21 | 5.90 ▲0.99 | 100.30 ▼8.28 | 39.21 ▼4.71 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.03 | 40.25 ▲2.74 | 37.45 ▲3.77 |
Add New Post /wp-admin/post-new.php | 1,519 ▲5 | 23.17 ▲5.72 | 678.65 ▼5.16 | 64.52 ▲1.07 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.02 | 95.53 ▼12.82 | 42.33 ▼1.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 32× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amigo-extensions/includes/industri/template-parts/sections/section-c2a.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/amigo-extensions/includes/industri/defaults/default-widgets.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amigo-extensions/includes/aqwa/customizer/blog-customizer.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amigo-extensions/includes/industri/customizer/customizer-footer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amigo-extensions/includes/industri/template-parts/sections/section-info.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/amigo-extensions/includes/aqwa/defaults/default-widgets.php:21
- > PHP Warning
Use of undefined constant AMIGO_PLUGIN_DIR_PATH - assumed 'AMIGO_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/amigo-extensions/lib/customizer-controls/customizer-repeater-control/repeater-control.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amigo-extensions/lib/customizer-controls/customizer-repeater-control/inc/customizer.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amigo-extensions/includes/industri/customizer/customizer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amigo-extensions/includes/aqwa/customizer/slider-customizer.php:14
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: corpox, industri, enron, aqwa
amigo-extensions/amigo-extensions.php 92% from 13 tests
"Amigo Extensions" version 1.0.16's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 417 characters long)
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
No dangerous file extensions were detected9,673 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 1,185 | 937 | 6,697 |
CSS | 7 | 270 | 31 | 1,812 |
JavaScript | 9 | 162 | 105 | 1,164 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 28 | 23.73% |
▷ Public methods | 110 | 93.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 6.78% |
Functions | 88 | |
▷ Named functions | 47 | 53.41% |
▷ Anonymous functions | 41 | 46.59% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 PNG files occupy 2.33MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/industri/assets/images/elements/06.png | 6.87KB | 1.76KB | ▼ 74.36% |
includes/aqwa/assets/images/elements-01.png | 4.00KB | 0.30KB | ▼ 92.60% |
includes/industri/assets/images/elements/08.png | 365.45KB | 370.66KB | 0.00% |
includes/industri/assets/images/slider/slider-01.png | 544.00KB | 545.47KB | 0.00% |
includes/industri/assets/images/slider/slider-03.png | 677.30KB | 681.42KB | 0.00% |