Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲229.11ms] 75% from 4 tests
Server-side resources used by WP RSS Validator
Please take the time to fix the following items
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 229.11ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 47.45 ▲8.56 |
Dashboard /wp-admin | 3.43 ▲0.09 | 1,101.99 ▲1,039.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.76 ▼5.41 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 1,010.58 ▲913.82 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.43 ▼0.54 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WP RSS Validator: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 14.36 ▼0.25 | 1.59 ▲0.06 | 34.59 ▼8.61 |
Dashboard /wp-admin | 2,297 ▲120 | 5.73 ▲0.19 | 86.86 ▲3.73 | 52.89 ▲12.47 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▲0.03 | 32.69 ▼1.70 | 33.42 ▼2.43 |
Add New Post /wp-admin/post-new.php | 6,280 ▲4,754 | 26.02 ▲2.91 | 926.43 ▲292.96 | 73.40 ▲15.96 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▲0.00 | 99.97 ▲4.21 | 40.88 ▼3.78 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-rss-validator/wp-rss-validator.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
1 plugin tags: rss
wp-rss-validator/wp-rss-validator.php Passed 13 tests
The principal PHP file in "WP RSS Validator" v. 1.1 is loaded by WordPress automatically on each request
60 characters long description:
Checks your RSS feed against the W3 RSS validator for errors
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
Good job! No executable or dangerous file extensions detected285 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 106 | 99 | 163 |
CSS | 1 | 18 | 2 | 84 |
JavaScript | 1 | 13 | 6 | 38 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 19.38KB | 7.79KB | ▼ 59.80% |
lib/img/icon-question.png | 1.22KB | 1.20KB | ▼ 1.60% |
lib/img/meta-yes.png | 0.62KB | 0.62KB | 0.00% |