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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.15MB] [CPU: ▼9.84ms] Passed 4 tests
Analyzing server-side resources used by Block RSS Reading
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▼0.62 | 18.80 ▼21.33 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.26 ▲0.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.22 ▼4.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.72 ▼14.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.76 ▲5.43 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Block RSS Reading: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.67 ▼0.73 | 1.68 ▼0.05 | 40.65 ▼6.61 |
Dashboard /wp-admin | 2,224 ▲33 | 4.93 ▲0.06 | 106.77 ▲4.28 | 73.38 ▲28.16 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.99 ▼0.01 | 35.94 ▼4.14 | 31.12 ▼4.83 |
Add New Post /wp-admin/post-new.php | 1,680 ▲166 | 22.30 ▲4.90 | 759.93 ▲129.50 | 60.48 ▼1.11 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.11 ▼0.11 | 94.56 ▲0.11 | 64.92 ▲23.52 |
Uninstaller [IO: ▲0.02MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Incomplete uninstall procedure, leaving 9 files (0.02MB) in the plugin directory
- (new file) block-rss-reading.php
- (new file) assets/img/screenshot.png
- (new file) lang/.empty
- (new file) assets/js/.empty
- (new file) includes/core.php
- (new file) includes/admin.php
- (new file) readme.txt
- (new file) assets/css/.empty
- (new file) assets/img/menu-icon.png
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/block-rss-reading/block-rss-reading.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/block-rss-reading/includes/core.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/block-rss-reading/includes/admin.php:16
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: rss, feed, ip block
block-rss-reading/block-rss-reading.php Passed 13 tests
This is the main PHP file of "Block RSS Reading" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
114 characters long description:
A simple WordPress plugin that let you to set another RSS Feed Url to be displayed for one or a list of many IP's.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected127 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 38 | 127 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/screenshot.png | 9.36KB | 4.30KB | ▼ 54.09% |
assets/img/menu-icon.png | 0.71KB | 0.69KB | ▼ 2.47% |