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: ▼3.02ms] Passed 4 tests
A check of server-side resources used by Nofollow for external link
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.35 ▲3.34 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.46 ▼2.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.62 ▲1.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.24 ▼13.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.91 ▲1.59 |
NoFollow ExtLink /wp-admin/options-general.php?page=cn_nf_option_page | 3.23 | 30.26 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
cn_nf_exclude_domains |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
cn_nf_apply_to_menu |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Nofollow for external link
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 14.80 ▲0.74 | 1.82 ▲0.08 | 45.42 ▲3.51 |
Dashboard /wp-admin | 2,212 ▲23 | 4.83 ▼0.12 | 109.90 ▲4.33 | 46.43 ▲1.45 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.02 | 39.79 ▲3.51 | 34.75 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.28 ▲0.03 | 657.61 ▼15.98 | 53.22 ▲2.49 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.19 ▼0.01 | 94.31 ▼12.23 | 42.08 ▼1.26 |
NoFollow ExtLink /wp-admin/options-general.php?page=cn_nf_option_page | 874 | 2.01 | 24.31 | 53.15 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- cn_nf_exclude_domains
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/nofollow-for-external-link/nofollow-external-link.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/nofollow-for-external-link/nofollow-option-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (See how the `rel=nofollow` inserted to all the external links.), #2 (Options page for Exclude Domains.)
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Donate link: Invalid URI found ("")
nofollow-for-external-link/nofollow-external-link.php 85% from 13 tests
The principal PHP file in "Nofollow for external link" v. 1.2.3 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("nofollow-for-external-link.php" instead of "nofollow-external-link.php")
- Description: The description should be shorter than 140 characters (currently 374 characters long)
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
There were no executable files found in this plugin213 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 58 | 25 | 206 |
CSS | 1 | 0 | 0 | 7 |
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.29 |
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 | 16 | |
▷ Named functions | 16 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 5.16KB | 2.63KB | ▼ 48.91% |
screenshot-2.png | 47.71KB | 21.55KB | ▼ 54.83% |