Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.59ms] Passed 4 tests
An overview of server-side resources used by Lightbox content images - WPSHARE247
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.56 ▼5.01 |
Dashboard /wp-admin | 3.35 ▲0.05 | 54.11 ▼1.25 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 53.95 ▲2.65 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 115.50 ▲12.69 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.83 ▲1.27 |
Configure Lightbox Images /wp-admin/options-general.php?page=ws247-lcimages-options | 3.25 | 35.17 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Lightbox content images - WPSHARE247
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲125 | 13.82 ▼0.34 | 8.76 ▲6.47 | 39.10 ▼4.72 |
Dashboard /wp-admin | 2,213 ▲28 | 4.97 ▼0.84 | 114.88 ▼10.03 | 39.01 ▼1.97 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.05 ▲0.03 | 43.60 ▲4.46 | 35.07 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.35 ▲0.25 | 664.80 ▼45.61 | 65.28 ▲9.04 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.25 ▲0.04 | 108.68 ▼1.41 | 44.71 ▼3.36 |
Configure Lightbox Images /wp-admin/options-general.php?page=ws247-lcimages-options | 925 | 2.36 | 31.56 | 26.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=ws247-lcimages-options
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Ws247_lcimages_Helper::ws247_lcimages_init_load_post_types() should not be called statically
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/lightbox-content-images-wpshare247/inc/option-form-template.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/lightbox-content-images-wpshare247/inc/tabs/tab_pro_general.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lightbox-content-images-wpshare247/inc/class.setting.page.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/lightbox-content-images-wpshare247/inc/define.php:2
- > PHP Fatal error
Uncaught Error: Class 'Ws247_lcimages_Setting' not found in wp-content/plugins/lightbox-content-images-wpshare247/inc/theme_functions.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/lightbox-content-images-wpshare247/assets/addmin_footer_js.php:9
- > PHP Warning
Use of undefined constant WS247_LCIMAGES_SETTING_PAGE_SLUG - assumed 'WS247_LCIMAGES_SETTING_PAGE_SLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/lightbox-content-images-wpshare247/inc/class.setting.page.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== lightbox-content-images-wpshare247 ===
)
lightbox-content-images-wpshare247/lightbox-content-images-wpshare247.php 92% from 13 tests
Analyzing the main PHP file in "Lightbox content images - WPSHARE247" version 1.0
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin9,537 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 2,364 | 1,293 | 7,677 |
CSS | 8 | 279 | 41 | 1,537 |
PHP | 9 | 57 | 41 | 284 |
PO File | 1 | 12 | 1 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 2 | 11.76% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin