Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/mobli-image-gallery-widget/mobli-image-gallery-widget.php+26
Methods with the same name as their class will not be constructors in a future version of PHP; Mobli_Image_Gallery_Widget has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼53.14ms] Passed 4 tests
This is a short check of server-side resources used by Mobli Image Gallery Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.59 ▼34.33 |
Dashboard /wp-admin | 2.10 ▼1.21 | 5.30 ▼39.45 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.12 ▼41.87 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.48 ▼96.91 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.27 ▼31.97 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_mobli-gallery |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mobli Image Gallery Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.35 ▼0.07 | 1.79 ▲0.12 | 42.84 ▲4.97 |
Dashboard /wp-admin | 2,195 ▲20 | 5.62 ▼0.02 | 90.99 ▼5.37 | 44.24 ▼0.66 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.02 | 42.14 ▲4.39 | 37.32 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.40 ▲0.36 | 594.54 ▼68.92 | 51.25 ▼2.80 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.04 | 97.05 ▼16.85 | 40.74 ▼4.39 |
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
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/mobli-image-gallery-widget/mobli-image-gallery-widget.php+26
Methods with the same name as their class will not be constructors in a future version of PHP; Mobli_Image_Gallery_Widget has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_mobli-gallery
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobli-image-gallery-widget/mobli-image-gallery-widget.php:14
- > 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 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #0 is missing in mobli-image-gallery-widget/assets to your readme.txt
- Donate link: Please fix this invalid URI: ""
- Screenshots: Screenshot #1 ([My Mobli Stream Example](http://mobdmin.yampolsky.org/wp/screenshot.png)) image missing
mobli-image-gallery-widget/mobli-image-gallery-widget.php Passed 13 tests
The primary PHP file in "Mobli Image Gallery Widget" version 1.0.1 is used by WordPress to initiate all plugin functionality
115 characters long description:
Show your latest Mobli images in a widget. Images are linked to Mobli.com, where all your Mobli images are visible.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected82 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 36 | 82 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected