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: ▼7.04ms] Passed 4 tests
This is a short check of server-side resources used by AddonSuite - for WPAdverts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 32.90 ▼12.15 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.81 ▼4.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.54 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.55 ▼8.24 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.22 ▼2.82 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for AddonSuite - for WPAdverts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲18 | 14.26 ▼0.09 | 1.75 ▼0.74 | 40.07 ▼2.76 |
Dashboard /wp-admin | 2,207 ▲30 | 5.63 ▼0.01 | 94.78 ▼2.61 | 45.98 ▼0.00 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▼0.02 | 40.31 ▼1.81 | 37.85 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.07 ▼0.18 | 672.94 ▼5.44 | 55.64 ▲3.15 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.23 ▲0.10 | 101.01 ▼3.35 | 42.05 ▼3.20 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addonsuite-for-wpadverts/includes/plugin-functions.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addonsuite-for-wpadverts/includes/plugin-scripts.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addonsuite-for-wpadverts/includes/plugin-admin-extendedoptions.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addonsuite-for-wpadverts/includes/plugin-admin.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
addonsuite-for-wpadverts/addonsuite-for-wpadverts.php Passed 13 tests
The main file in "AddonSuite - for WPAdverts" v. 1.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
91 characters long description:
Extend your WPAdverts classifieds page with new features and options in less than a minute.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,250 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 188 | 136 | 867 |
PO File | 1 | 69 | 84 | 270 |
CSS | 2 | 21 | 1 | 113 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 55 | |
▷ Named functions | 54 | 98.18% |
▷ Anonymous functions | 1 | 1.82% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.46MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-512x512.png | 118.67KB | 27.55KB | ▼ 76.79% |
assets/img/logo.png | 1.45KB | 1.04KB | ▼ 28.24% |
assets/img/head-icon-96x96.png | 9.44KB | 2.80KB | ▼ 70.38% |
assets/img/icon-256x256.png | 55.44KB | 13.64KB | ▼ 75.40% |
assets/img/icon-128x128.png | 23.29KB | 6.30KB | ▼ 72.94% |