Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/rss-feed-canceller/rss-feed-canceller.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; RssFeedCanceller has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.16ms] Passed 4 tests
Server-side resources used by RSS-feed Canceller
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 5.08 ▼36.98 |
Dashboard /wp-admin | 2.08 ▼1.22 | 10.51 ▼44.06 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 6.49 ▼41.44 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.50 ▼90.17 |
Media Library /wp-admin/upload.php | 2.08 ▼1.14 | 5.46 ▼32.76 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RSS-feed Canceller
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▲0.35 | 1.70 ▲0.05 | 43.01 ▲2.23 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼0.02 | 107.63 ▲4.06 | 40.79 ▼7.52 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.97 ▼0.04 | 39.44 ▲0.58 | 34.81 ▲3.76 |
Add New Post /wp-admin/post-new.php | 6,215 ▲4,701 | 18.81 ▲1.30 | 892.36 ▲234.63 | 59.94 ▲12.70 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▲0.02 | 98.94 ▼4.69 | 46.41 ▼0.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/rss-feed-canceller/rss-feed-canceller.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; RssFeedCanceller has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/rss-feed-canceller/rss-feed-canceller.php:97
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: feed, posts, new posts, rss
rss-feed-canceller/rss-feed-canceller.php Passed 13 tests
The main file in "RSS-feed Canceller" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
75 characters long description:
This plug-in can be used to stop the RSS feed delivery in the article unit.
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 plugin78 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 22 | 59 |
PO File | 1 | 3 | 3 | 19 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 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
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 |
screenshot-1.png | 2.70KB | 2.12KB | ▼ 21.53% |