Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.17ms] Passed 4 tests
A check of server-side resources used by Affiliates Formidable
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.28 ▼1.07 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.90 ▼5.06 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.25 ▲1.99 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.74 ▼0.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.18 ▲2.90 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Affiliates Formidable
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲44 | 13.18 ▼1.45 | 4.50 ▲2.44 | 38.52 ▼5.13 |
Dashboard /wp-admin | 2,218 ▲40 | 5.87 ▲0.89 | 108.21 ▼17.32 | 38.68 ▼4.72 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.02 ▼0.03 | 39.88 ▲4.48 | 37.80 ▲5.62 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.44 ▲0.41 | 593.17 ▼82.52 | 55.03 ▼1.38 |
Media Library /wp-admin/upload.php | 1,400 ▲21 | 4.28 ▲0.05 | 101.06 ▲3.43 | 43.39 ▼0.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 22 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in affiliates-formidable/assets to your readme.txt
affiliates-formidable/affiliates-formidable.php 92% from 13 tests
Analyzing the main PHP file in "Affiliates Formidable" version 3.1.0
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 323 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,161 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 152 | 406 | 1,135 |
CSS | 1 | 1 | 19 | 26 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 34.83 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 7.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.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 | 33 | |
▷ Static methods | 27 | 81.82% |
▷ Public methods | 32 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.03% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 6 | 30.00% |
▷ Class constants | 14 | 70.00% |
▷ Public constants | 14 | 100.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 |
images/affiliates-formidable-icon.png | 0.53KB | 0.27KB | ▼ 49.91% |
images/affiliates-registration-formidable-icon.png | 0.60KB | 0.48KB | ▼ 20.00% |