Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▲2.33ms] Passed 4 tests
A check of server-side resources used by Lity - Responsive Lightboxes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 45.40 ▲5.04 |
Dashboard /wp-admin | 3.55 ▲0.25 | 53.32 ▲0.02 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 58.62 ▲5.55 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 98.84 ▼1.29 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 43.55 ▲9.03 |
Lity - Responsive Lightboxes /wp-admin/options-general.php?page=lity-options | 3.49 | 53.09 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 3.65 | 51.10 |
Server storage [IO: ▲0.70MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 107 new files
Database: 4 new tables, 11 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_groups |
wp_actionscheduler_claims |
wp_actionscheduler_logs |
New WordPress options |
---|
schema-ActionScheduler_LoggerSchema |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
schema-ActionScheduler_StoreSchema |
action_scheduler_hybrid_store_demarkation |
theysaidso_admin_options |
widget_theysaidso_widget |
action_scheduler_lock_async-request-runner |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Lity - Responsive Lightboxes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.34 ▼0.03 | 1.67 ▼0.02 | 42.80 ▲1.74 |
Dashboard /wp-admin | 2,206 ▲26 | 5.57 ▼0.08 | 90.59 ▲4.17 | 39.77 ▼9.47 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.98 ▼0.03 | 39.20 ▼4.14 | 35.22 ▼5.82 |
Add New Post /wp-admin/post-new.php | 1,544 ▲7 | 23.30 ▲4.93 | 598.11 ▼16.36 | 47.50 ▼15.04 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.19 ▼0.10 | 95.80 ▼11.96 | 45.08 ▼5.72 |
Lity - Responsive Lightboxes /wp-admin/options-general.php?page=lity-options | 1,188 | 2.06 | 37.70 | 39.92 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,238 | 1.78 | 26.77 | 29.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 4 tables
- wp_actionscheduler_claims
- wp_actionscheduler_logs
- wp_actionscheduler_groups
- wp_actionscheduler_actions
- Zombie WordPress options detected upon uninstall: 10 options
- db_upgraded
- schema-ActionScheduler_StoreSchema
- schema-ActionScheduler_LoggerSchema
- action_scheduler_hybrid_store_demarkation
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- action_scheduler_lock_async-request-runner
- widget_theysaidso_widget
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)
The smoke test was a success, however most plugin functionality was not tested
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
- 42× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/schedules/ActionScheduler_CronSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Lock' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/ActionScheduler_OptionLock.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php:10
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/actions/ActionScheduler_NullAction.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/lib/cron-expression/CronExpression_MonthField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_AdminView_Deprecated' not found in wp-content/plugins/lity-responsive-lightboxes/includes/action-scheduler/classes/ActionScheduler_AdminView.php:7
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: responsive, captions, lightbox
lity-responsive-lightboxes/lity.php 85% from 13 tests
The principal PHP file in "Lity - Responsive Lightboxes" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("lity-responsive-lightboxes.php" instead of "lity.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected10,003 lines of code in 101 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 86 | 1,910 | 5,084 | 6,657 |
JavaScript | 7 | 197 | 164 | 2,533 |
CSS | 8 | 105 | 7 | 813 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 15 | 18.99% |
▷ Concrete classes | 64 | 81.01% |
▷ Final classes | 4 | 6.25% |
Methods | 610 | |
▷ Static methods | 62 | 10.16% |
▷ Public methods | 457 | 74.92% |
▷ Protected methods | 134 | 21.97% |
▷ Private methods | 19 | 3.11% |
Functions | 28 | |
▷ Named functions | 18 | 64.29% |
▷ Anonymous functions | 10 | 35.71% |
Constants | 37 | |
▷ Global constants | 4 | 10.81% |
▷ Class constants | 33 | 89.19% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin