Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.96ms] Passed 4 tests
A check of server-side resources used by Abundatrade Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 31.00 ▼15.04 |
Dashboard /wp-admin | 3.45 ▲0.14 | 55.16 ▼0.46 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.09 ▼1.24 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 95.35 ▲3.80 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 39.95 ▲0.92 |
Abundatrade /wp-admin/options-general.php?page=abundatrade | 3.34 | 34.06 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
skel_abundatrade_options |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Abundatrade Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲157 | 13.42 ▼0.93 | 13.21 ▲11.23 | 45.02 ▼2.77 |
Dashboard /wp-admin | 2,201 ▲27 | 5.67 ▲0.00 | 89.26 ▼10.95 | 40.52 ▼4.25 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.99 ▼0.01 | 37.38 ▼1.64 | 37.06 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.88 ▼0.76 | 617.70 ▼106.49 | 51.97 ▲0.46 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.02 | 95.78 ▼18.00 | 41.72 ▼8.12 |
Abundatrade /wp-admin/options-general.php?page=abundatrade | 921 | 1.83 | 24.90 | 35.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- skel_abundatrade_options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=abundatrade
- > Notice in wp-content/plugins/abundatrade-plugin/tabs/settings_withinboredom.php+95
Undefined variable: start
SRP Passed 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 SRP test was a success
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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: affiliate, post, cash, abundatrade, cds...
abundatrade-plugin/abundatrade_pugin.php 92% from 13 tests
The primary PHP file in "Abundatrade Plugin" version 1.8.02 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("abundatrade-plugin.php" instead of "abundatrade_pugin.php")
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
Success! There were no dangerous files found in this plugin4,085 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 328 | 283 | 2,287 |
CSS | 4 | 151 | 62 | 958 |
PHP | 6 | 161 | 193 | 837 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 3 | 8.33% |
▷ Public methods | 33 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons32.png | 54.58KB | 1.58KB | ▼ 97.10% |