Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼147.21ms] Passed 4 tests
An overview of server-side resources used by Orbisius Warning Suppressor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 37.33 ▲16.45 |
Dashboard /wp-admin | 3.08 ▲0.02 | 52.16 ▲5.80 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 43.92 ▼8.20 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 88.97 ▼586.76 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 31.94 ▲0.31 |
Orbisius Warning Suppressor /wp-admin/options-general.php?page=orbisius_warning_suppressor_options | 2.99 | 30.40 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Orbisius Warning Suppressor: 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 / | 3,687 ▲91 | 16.12 ▲0.56 | 8.66 ▼1.00 | 47.34 ▲0.72 |
Dashboard /wp-admin | 2,972 ▲41 | 5.83 ▼0.30 | 134.62 ▼29.60 | 121.07 ▲10.01 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▼0.00 | 61.49 ▼7.42 | 96.54 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,503 ▲3 | 18.51 ▼0.17 | 352.64 ▼43.64 | 113.38 ▲6.63 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.05 ▲0.03 | 144.92 ▼16.74 | 119.47 ▲6.53 |
Orbisius Warning Suppressor /wp-admin/options-general.php?page=orbisius_warning_suppressor_options | 1,108 | 2.05 | 57.09 | 77.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbisius-warning-suppressor/orbisius-warning-suppressor.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (WP-CLI output filled with warnings when the plugin is not active), #2 (WP-CLI output no warnings)
- Tags: You are using too many tags: 11 tag instead of maximum 10
orbisius-warning-suppressor/orbisius-warning-suppressor.php Passed 13 tests
The main PHP script in "Orbisius Warning Suppressor" version 1.0.2 is automatically included on every request by WordPress
67 characters long description:
Suppresses 'Declaration ... should be compatible' warnings in php 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected112 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 58 | 112 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.36MB with 0.23MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot2.png | 49.54KB | 17.05KB | ▼ 65.59% |
screenshot1.png | 316.59KB | 116.59KB | ▼ 63.17% |