Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.70ms] Passed 4 tests
A check of server-side resources used by Orbisius Simple Notice
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.14 ▼4.45 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.64 ▼6.46 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.55 ▼11.99 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 91.21 ▼15.91 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.89 ▲1.38 |
Orbisius Simple Notice /wp-admin/options-general.php?page=orbisius-simple-notice/orbisius-simple-notice.php | 3.32 | 33.05 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Orbisius Simple Notice: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲153 | 13.87 ▼0.52 | 4.84 ▲2.99 | 43.27 ▼3.68 |
Dashboard /wp-admin | 2,231 ▲40 | 5.08 ▲0.19 | 102.64 ▼1.83 | 38.62 ▼5.50 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.32 ▲0.28 | 37.63 ▼8.19 | 32.98 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,533 ▼4 | 23.13 ▲4.93 | 576.71 ▼26.90 | 33.60 ▼21.85 |
Media Library /wp-admin/upload.php | 1,410 ▲25 | 4.54 ▲0.32 | 96.14 ▼5.02 | 43.90 ▲1.35 |
Orbisius Simple Notice /wp-admin/options-general.php?page=orbisius-simple-notice/orbisius-simple-notice.php | 2,226 | 8.14 | 200.99 | 87.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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)
Even though no errors were found, this is by no means 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 fix the following
- 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-simple-notice/orbisius-simple-notice.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
Attributes that need to be fixed:
- Tags: There are too many tags (15 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The Notice shown by the plugin), #2 (Plugin's Settings Page (part 2))
orbisius-simple-notice/orbisius-simple-notice.php Passed 13 tests
The primary PHP file in "Orbisius Simple Notice" version 1.1.2 is used by WordPress to initiate all plugin functionality
118 characters long description:
This plugin allows you to show a simple notice to alert your users about server maintenance, new product launches etc.
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
No dangerous file extensions were detected768 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 116 | 98 | 679 |
JavaScript | 3 | 24 | 23 | 89 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 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
5 PNG files occupy 0.21MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/guNzr.qr.16.png | 0.39KB | 0.41KB | 0.00% |
i/guNzr.qr.2.png | 0.23KB | 0.23KB | 0.43% |
screenshot-3.png | 81.37KB | 32.36KB | ▼ 60.23% |
screenshot-2.png | 125.92KB | 39.85KB | ▼ 68.36% |
screenshot-1.png | 10.01KB | 4.65KB | ▼ 53.59% |