Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼294.73ms] Passed 4 tests
An overview 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.52 ▲0.01 | 51.84 ▼1.06 |
Dashboard /wp-admin | 3.41 ▲0.00 | 32.66 ▼1.48 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 38.92 ▲1.16 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 96.76 ▼1,176.85 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 25.72 ▲0.49 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for AddonSuite - for WPAdverts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,818 ▲76 | 15.78 ▼0.13 | 6.44 ▲0.40 | 4.17 ▲2.01 |
Dashboard /wp-admin | 2,918 ▲60 | 6.21 ▼0.08 | 117.75 ▼16.40 | 158.10 ▼9.40 |
Posts /wp-admin/edit.php | 2,708 ▲14 | 3.23 ▼0.01 | 63.93 ▼1.95 | 141.39 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,773 ▲112 | 17.67 ▼4.54 | 425.08 ▲9.31 | 158.14 ▲5.50 |
Media Library /wp-admin/upload.php | 1,721 ▲20 | 5.50 ▲0.00 | 142.96 ▼0.98 | 192.17 ▲6.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
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 everything seems fine, this is not an exhaustive test
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-scripts.php:10
- > 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-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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 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 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable 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 logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
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
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.46MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-1024x1024.png | 235.60KB | 61.54KB | ▼ 73.88% |
assets/img/icon-256x256.png | 55.44KB | 13.64KB | ▼ 75.40% |
assets/img/logo.png | 1.45KB | 1.04KB | ▼ 28.24% |
assets/img/icon-32x32.png | 5.09KB | 1.83KB | ▼ 64.11% |
assets/img/head-icon-96x96.png | 9.44KB | 2.80KB | ▼ 70.38% |