Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.03ms] Passed 4 tests
This is a short check of server-side resources used by Rel Nofollow Checkbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.39 ▲0.19 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.24 ▼6.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.79 ▲0.21 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.21 ▼33.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.52 ▲2.51 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Rel Nofollow Checkbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.80 ▼0.72 | 1.92 ▲0.08 | 44.52 ▲0.89 |
Dashboard /wp-admin | 2,231 ▲43 | 5.16 ▼0.69 | 120.27 ▲8.88 | 41.45 ▼1.20 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.01 ▼0.00 | 41.81 ▲4.24 | 35.33 ▲3.25 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.30 ▲0.00 | 635.45 ▼27.78 | 33.59 ▼16.53 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.28 ▲0.12 | 108.14 ▼0.58 | 44.21 ▼7.37 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rel-nofollow-checkbox/rel-nofollow-checkbox.php:20
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Add rel=nofollow to link.), #2 (Check HTML code.)
rel-nofollow-checkbox/rel-nofollow-checkbox.php Passed 13 tests
This is the main PHP file of "Rel Nofollow Checkbox" version 1.1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
This plugin adds a simple checkbox in the insert/edit link popup for including nofollow attribute.
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
No dangerous file extensions were detected606 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 146 | 52 | 598 |
PHP | 1 | 2 | 10 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 6.26KB | 4.81KB | ▼ 23.28% |
screenshot-1.png | 11.34KB | 7.26KB | ▼ 35.96% |