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.14MB] [CPU: ▼132.02ms] Passed 4 tests
Analyzing server-side resources used by Remove noreferrer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 37.89 ▲15.98 |
Dashboard /wp-admin | 3.24 ▲0.18 | 45.96 ▲10.38 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 45.48 ▲3.14 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.10 | 91.82 ▼543.57 |
Media Library /wp-admin/upload.php | 3.12 ▲0.11 | 32.56 ▲1.99 |
Remove Noreferrer /wp-admin/options-general.php?page=remove_noreferrer | 3.08 | 27.30 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 1 new option
New WordPress options |
---|
remove_noreferrer |
Browser metrics Passed 4 tests
An overview of browser requirements for Remove noreferrer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲112 | 15.83 ▼0.14 | 9.50 ▼1.72 | 44.65 ▼8.37 |
Dashboard /wp-admin | 2,974 ▲40 | 5.87 ▼0.05 | 140.98 ▼2.08 | 107.03 ▼10.90 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 68.99 ▼4.61 | 93.92 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,501 ▼114 | 18.87 ▼2.17 | 395.51 ▲114.66 | 122.88 ▲24.24 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▼0.08 | 147.76 ▼11.93 | 121.84 ▲6.14 |
Remove Noreferrer /wp-admin/options-general.php?page=remove_noreferrer | 1,223 | 2.09 | 49.15 | 84.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- remove_noreferrer
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 | 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 take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Remove_Noreferrer\\Base\\Plugin' not found in wp-content/plugins/remove-noreferrer/class-plugin.php:16
- > PHP Fatal error
Uncaught Error: Class 'Remove_Noreferrer\\Base\\Plugin' not found in wp-content/plugins/remove-noreferrer/admin/class-plugin.php:19
- > PHP Fatal error
Uncaught Error: Class 'Remove_Noreferrer\\Base\\Plugin' not found in wp-content/plugins/remove-noreferrer/core/class-plugin.php:17
- > PHP Fatal error
Uncaught Error: Class 'Remove_Noreferrer\\Base\\Plugin' not found in wp-content/plugins/remove-noreferrer/frontend/class-plugin.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: post, widgets, noreferrer, page, affiliate...
remove-noreferrer/remove-noreferrer.php Passed 13 tests
The main PHP file in "Remove noreferrer" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
72 characters long description:
Removes rel="noreferrer" attribute from links on your website on-the-fly
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin720 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 247 | 1,018 | 720 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 12 | 15.19% |
▷ Public methods | 32 | 40.51% |
▷ Protected methods | 1 | 1.27% |
▷ Private methods | 46 | 58.23% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 9 | |
▷ Global constants | 5 | 55.56% |
▷ Class constants | 4 | 44.44% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin