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
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/blogiramemk-widget/blogirame_widget.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; BlogirameWidget has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼52.88ms] Passed 4 tests
Analyzing server-side resources used by Blogirame.mk Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.41 | 4.33 ▼43.77 |
Dashboard /wp-admin | 2.08 ▼1.23 | 5.40 ▼44.55 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 6.19 ▼40.56 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.65 ▼82.64 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.05 ▼29.69 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_blogiramewidget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Blogirame.mk Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▼0.32 | 1.74 ▼0.07 | 41.28 ▼4.23 |
Dashboard /wp-admin | 2,206 ▲21 | 4.82 ▼0.06 | 103.57 ▲0.21 | 38.14 ▼2.40 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.00 | 38.49 ▼1.42 | 33.57 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,534 ▼5 | 23.40 ▲0.37 | 664.86 ▲14.49 | 55.95 ▲6.76 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▼0.03 | 95.46 ▼1.59 | 42.34 ▼0.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/blogiramemk-widget/blogirame_widget.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; BlogirameWidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_blogiramewidget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blogiramemk-widget/blogirame_widget.php:14
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (Блогираме.мк виџет) image missing
blogiramemk-widget/blogirame_widget.php 85% from 13 tests
The main PHP file in "Blogirame.mk Widget" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("blogiramemk-widget.php" instead of "blogirame_widget.php")
- Description: The description should be shorter than 140 characters (currently 198 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin30 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 10 | 30 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 36.86KB | 16.62KB | ▼ 54.91% |
screenshot-1.png | 89.30KB | 30.56KB | ▼ 65.78% |