Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.29ms] Passed 4 tests
A check of server-side resources used by AffiliateWP - Sign Up Bonus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.00 ▼7.14 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.83 ▼15.97 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 44.66 ▼4.75 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.26 ▼9.30 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.00 ▲2.09 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for AffiliateWP - Sign Up Bonus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 13.17 ▼1.58 | 1.63 ▼0.03 | 40.46 ▼2.88 |
Dashboard /wp-admin | 2,212 ▲21 | 5.83 ▲0.94 | 97.74 ▼2.88 | 40.08 ▼2.06 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.01 | 38.94 ▼2.92 | 35.02 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.52 ▲0.08 | 649.41 ▼29.98 | 55.09 ▼3.74 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.05 | 95.76 ▼7.33 | 42.35 ▼1.53 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2 in affiliatewp-sign-up-bonus/assets to your readme.txt
- Tags: You are using too many tags: 14 tag instead of maximum 10
affiliatewp-sign-up-bonus/affiliatewp-sign-up-bonus.php 85% from 13 tests
Analyzing the main PHP file in "AffiliateWP - Sign Up Bonus" version 1.3
Please take the time to fix the following:
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
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
There were no executable files found in this plugin779 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 267 | 1,016 | 748 |
PO File | 1 | 6 | 6 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 1 | 25.00% |
Methods | 78 | |
▷ Static methods | 2 | 2.56% |
▷ Public methods | 39 | 50.00% |
▷ Protected methods | 22 | 28.21% |
▷ Private methods | 17 | 21.79% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
PNG images were not found in this plugin