Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.01MB] [CPU: ▲6.36ms] Passed 4 tests
Server-side resources used by WebMan Amplifier
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.47 ▲1.00 | 56.75 ▲14.38 |
Dashboard /wp-admin | 4.36 ▲1.01 | 58.89 ▼2.39 |
Posts /wp-admin/edit.php | 4.41 ▲1.05 | 54.56 ▲4.14 |
Add New Post /wp-admin/post-new.php | 6.91 ▲1.02 | 103.16 ▲9.31 |
Media Library /wp-admin/upload.php | 4.22 ▲0.99 | 51.63 ▲17.82 |
Icon Font /wp-admin/themes.php?page=icon-font | 5.09 | 52.91 |
Server storage [IO: ▲2.33MB] [DB: ▲0.05MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 192 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
wmamp-icon-font |
wmamp-icons |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WebMan Amplifier
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.17 ▼0.19 | 1.74 ▲0.01 | 44.96 ▼0.74 |
Dashboard /wp-admin | 2,199 ▲22 | 5.50 ▼0.11 | 80.82 ▼5.42 | 36.43 ▼3.19 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▼0.00 | 32.33 ▼7.80 | 34.06 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.02 ▼0.57 | 640.54 ▼37.44 | 58.02 ▼0.95 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.22 ▲0.04 | 96.61 ▼6.40 | 43.65 ▼2.37 |
Icon Font /wp-admin/themes.php?page=icon-font | 13,173 | 3.15 | 60.05 | 222.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- wmamp-icon-font
- wmamp-icons
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 72× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/tabs.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/column.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/content_module.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webman-amplifier/includes/metabox/fields/images.php:138
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/webman-amplifier/templates/content-shortcode-posts-wm_staff.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/pre.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/pricing_table.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/countdown_timer.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/price.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/webman-amplifier/includes/shortcodes/renderers/last_update.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
webman-amplifier/webman-amplifier.php 92% from 13 tests
"WebMan Amplifier" version 1.5.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin26,027 lines of code in 181 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 121 | 5,174 | 6,732 | 14,181 |
JSON | 1 | 0 | 0 | 4,060 |
JavaScript | 19 | 1,680 | 510 | 3,327 |
Markdown | 4 | 506 | 0 | 1,576 |
Sass | 24 | 423 | 66 | 1,135 |
CSS | 11 | 273 | 73 | 1,062 |
SVG | 1 | 674 | 0 | 686 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 2 | 5.13% |
▷ Concrete classes | 37 | 94.87% |
▷ Final classes | 0 | 0.00% |
Methods | 204 | |
▷ Static methods | 42 | 20.59% |
▷ Public methods | 175 | 85.78% |
▷ Protected methods | 5 | 2.45% |
▷ Private methods | 24 | 11.76% |
Functions | 123 | |
▷ Named functions | 123 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/meta/no-thumb.png | 0.31KB | 0.25KB | ▼ 21.00% |
assets/images/meta/no-thumb@2x.png | 0.51KB | 0.42KB | ▼ 18.89% |