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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.57MB] [CPU: ▼19.88ms] Passed 4 tests
Server-side resources used by Adrecord Affiliate
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 38.05 ▼2.31 |
Dashboard /wp-admin | 3.41 ▲0.11 | 45.54 ▼1.92 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 44.89 ▼2.78 |
Add New Post /wp-admin/post-new.php | 3.29 ▼2.60 | 35.67 ▼72.51 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.50 ▼0.90 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Adrecord-Wordpress-Plugin |
Browser metrics Passed 4 tests
A check of browser resources used by Adrecord Affiliate
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.30 ▼0.35 | 1.87 ▲0.32 | 43.71 ▲4.69 |
Dashboard /wp-admin | 2,232 ▲51 | 5.49 ▼0.22 | 83.77 ▼17.27 | 38.77 ▼1.36 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.00 ▲0.01 | 33.70 ▼7.22 | 34.20 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.01 ▼0.56 | 597.87 ▼54.72 | 56.27 ▼1.38 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.19 ▲0.12 | 94.96 ▼10.49 | 44.50 ▲1.53 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- Adrecord-Wordpress-Plugin
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/adrecord-affiliate/adrecord-affiliate.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: adrecord, addrecord, affiliate, affiliate marketing, clean links
adrecord-affiliate/adrecord-affiliate.php 92% from 13 tests
The main file in "Adrecord Affiliate" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin1,182 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 38 | 56 | 471 |
PHP | 6 | 86 | 121 | 418 |
PO File | 1 | 31 | 47 | 98 |
SVG | 2 | 0 | 1 | 65 |
CSS | 3 | 8 | 7 | 48 |
JSON | 3 | 0 | 0 | 42 |
Markdown | 1 | 9 | 0 | 22 |
HTML | 2 | 3 | 20 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 17 | 77.27% |
▷ Public methods | 18 | 81.82% |
▷ Protected methods | 3 | 13.64% |
▷ Private methods | 1 | 4.55% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
No PNG files were detected