Benchmarks
Plugin footprint 65% 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: ▼1.80MB] [CPU: ▼58.64ms] Passed 4 tests
An overview of server-side resources used by Remove Feed Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 7.13 ▼37.21 |
Dashboard /wp-admin | 2.23 ▼1.12 | 10.17 ▼54.58 |
Posts /wp-admin/edit.php | 2.23 ▼1.13 | 8.96 ▼36.86 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.66 | 10.27 ▼105.89 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 8.78 ▼28.32 |
Remove Feed Links /wp-admin/options-general.php?page=remove-feed-links | 2.23 | 10.75 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Remove Feed Links
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.24 ▼0.11 | 2.66 ▲1.10 | 40.36 ▼4.74 |
Dashboard /wp-admin | 2,201 ▲24 | 5.55 ▼0.11 | 85.82 ▼7.13 | 43.17 ▼3.60 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▼0.14 | 41.68 ▲5.04 | 36.03 ▲1.77 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 21.16 ▼1.83 | 661.73 ▼9.28 | 55.33 ▲0.68 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.22 ▲0.02 | 95.15 ▼4.14 | 44.02 ▼0.24 |
Remove Feed Links /wp-admin/options-general.php?page=remove-feed-links | 829 | 2.00 | 25.09 | 43.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/remove-feed-links/remove-feed-links.php+21
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=remove-feed-links
- > Notice in wp-content/plugins/remove-feed-links/settings-page.php+56
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-feed-links/settings-page.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-feed-links/settings-page.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: feed links extra, wp-head, feed, meta, wpsos...
remove-feed-links/remove-feed-links.php Passed 13 tests
The entry point to "Remove Feed Links" version 1.0 is a PHP file that has certain tags in its header comment area
70 characters long description:
A simple plugin for removing feed link from the head of your web site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin166 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 13 | 47 | 121 |
CSS | 1 | 7 | 0 | 45 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin