Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/native-rss/native-rss.php+36
Methods with the same name as their class will not be constructors in a future version of PHP; NativeRSS has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼58.43ms] Passed 4 tests
Server-side resources used by Native RSS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.72 ▼37.64 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.85 ▼45.30 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.10 ▼42.65 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.63 ▼108.11 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.24 ▼32.32 |
Native RSS /wp-admin/options-general.php?page=set-feed-language | 2.10 | 7.57 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
rss_language |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Native RSS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.32 ▼0.03 | 2.07 ▲0.40 | 43.38 ▲1.15 |
Dashboard /wp-admin | 2,199 ▲22 | 5.58 ▼0.26 | 91.82 ▲0.41 | 41.83 ▼1.14 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.04 | 39.35 ▲3.45 | 35.99 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.12 ▼4.86 | 635.46 ▼24.19 | 74.05 ▲23.09 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.02 | 100.71 ▼5.88 | 44.35 ▲0.23 |
Native RSS /wp-admin/options-general.php?page=set-feed-language | 795 | 2.03 | 24.12 | 26.30 |
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
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/native-rss/native-rss.php+36
Methods with the same name as their class will not be constructors in a future version of PHP; NativeRSS has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- rss_language
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=set-feed-language
- > Deprecated in wp-content/plugins/native-rss/native-rss.php+36
Methods with the same name as their class will not be constructors in a future version of PHP; NativeRSS has a deprecated constructor
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: rss, settings, language, language settings, rss feed...
native-rss/native-rss.php 92% from 13 tests
The main file in "Native RSS" v. 2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 481 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin215 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 40 | 46 | 142 |
PHP | 1 | 74 | 31 | 73 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/a5-logo.png | 3.42KB | 1.11KB | ▼ 67.54% |