Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼386.86ms] Passed 4 tests
Server-side resources used by RSSupplement
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 34.78 ▲13.30 |
Dashboard /wp-admin | 2.75 ▼0.30 | 18.73 ▼23.97 |
Posts /wp-admin/edit.php | 2.75 ▼0.35 | 20.38 ▼16.05 |
Add New Post /wp-admin/post-new.php | 2.75 ▼2.68 | 18.55 ▼1,488.19 |
Media Library /wp-admin/upload.php | 2.75 ▼0.25 | 21.53 ▼19.24 |
RSSupplement /wp-admin/options-general.php?page=rssupplement/RSSupplement.php | 2.76 | 23.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
rss_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for RSSupplement
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲72 | 15.92 ▲0.43 | 9.60 ▲0.95 | 46.13 ▼3.17 |
Dashboard /wp-admin | 2,935 ▲82 | 5.93 ▲0.05 | 138.86 ▲9.39 | 102.35 ▼1.20 |
Posts /wp-admin/edit.php | 2,708 ▲2 | 2.68 ▲0.00 | 65.66 ▲1.80 | 91.88 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,656 ▲3 | 18.70 ▼0.06 | 352.20 ▼7.00 | 111.34 ▲0.30 |
Media Library /wp-admin/upload.php | 1,777 ▲5 | 5.01 ▲0.01 | 138.56 ▼11.21 | 114.67 ▼0.35 |
RSSupplement /wp-admin/options-general.php?page=rssupplement/RSSupplement.php | 1,077 | 2.09 | 55.85 | 63.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 1 option in the database
- rss_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rssupplement/RSSupplement.php
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
Almost there! Just fix the following items
- 1× 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/rssupplement/RSSupplement.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
rssupplement/RSSupplement.php 92% from 13 tests
The main file in "RSSupplement" v. 16.07 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("rssupplement.php" instead of "RSSupplement.php")
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
There were no executable files found in this plugin120 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 27 | 120 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 7 | |
▷ Named functions | 7 | 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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin