Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.85ms] Passed 4 tests
Analyzing server-side resources used by Meks Easy Photo Feed Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.63 ▼4.47 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.94 ▼1.64 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 43.52 ▼10.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.25 ▼1.91 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.65 ▼2.69 |
Meks Instagram Settings /wp-admin/options-general.php?page=meks-instagram | 3.23 | 31.33 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_meks_instagram |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Meks Easy Photo Feed Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.23 ▼1.12 | 1.67 ▼0.02 | 38.46 ▼4.91 |
Dashboard /wp-admin | 2,211 ▲20 | 5.85 ▼0.05 | 94.58 ▼8.24 | 36.84 ▼4.17 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.03 | 34.92 ▼0.97 | 30.54 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,530 ▼3 | 18.37 ▼5.26 | 590.66 ▼70.13 | 50.23 ▲0.29 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.36 ▲0.24 | 95.60 ▼20.63 | 40.48 ▼7.58 |
Meks Instagram Settings /wp-admin/options-general.php?page=meks-instagram | 811 | 1.72 | 25.28 | 23.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_meks_instagram
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 5× 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/meks-easy-instagram-widget/inc/helpers.php:114
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/meks-easy-instagram-widget/inc/template-functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function absint() in wp-content/plugins/meks-easy-instagram-widget/views/widget_html.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/meks-easy-instagram-widget/views/widget_admin_html.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meks-easy-instagram-widget/inc/class-instagram-widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: images, widget, photos, instagram widget, instagram feed...
meks-easy-instagram-widget/meks-easy-instagram-widget.php Passed 13 tests
The entry point to "Meks Easy Photo Feed Widget" version 1.2.8 is a PHP file that has certain tags in its header comment area
92 characters long description:
Easily display Instagram photos as a widget that looks good in (almost) any WordPress theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,109 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 337 | 323 | 777 |
JavaScript | 2 | 61 | 17 | 189 |
CSS | 3 | 20 | 1 | 143 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 42.50 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 25 | 69.44% |
▷ Protected methods | 9 | 25.00% |
▷ Private methods | 2 | 5.56% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin