Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▲0.72ms] Passed 4 tests
This is a short check of server-side resources used by Logo Scheduler - Great for holidays, events, and more
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 43.76 ▼0.48 |
Dashboard /wp-admin | 3.61 ▲0.30 | 47.00 ▼1.16 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 51.87 ▲6.85 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 91.41 ▲2.12 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 38.10 ▲2.40 |
Logo Scheduler /wp-admin/options-general.php?page=amwnlogos | 3.45 | 34.82 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Logo Scheduler - Great for holidays, events, and more
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲139 | 13.97 ▼0.38 | 6.30 ▲4.20 | 43.02 ▼3.48 |
Dashboard /wp-admin | 2,215 ▲27 | 5.90 ▲0.02 | 106.91 ▼0.15 | 38.63 ▼5.02 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.15 ▲0.10 | 51.73 ▲15.86 | 44.93 ▲9.33 |
Add New Post /wp-admin/post-new.php | 1,519 ▼0 | 17.67 ▼5.71 | 682.20 ▲12.48 | 51.80 ▼12.34 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.21 ▼0.04 | 94.53 ▼11.23 | 40.65 ▼8.39 |
Logo Scheduler /wp-admin/options-general.php?page=amwnlogos | 1,136 | 3.34 | 51.15 | 27.96 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=amwnlogos
- > Notice in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/class-admin.php+165
Undefined variable: attachments
- > GET request to /wp-admin/options-general.php?page=amwnlogos
- > Notice in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/class-admin.php+167
Undefined variable: retina_attachments
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=amwnlogos
- > Notice in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/class-admin.php+467
Undefined index: attributes
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=amwnlogos
- > Notice in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/class-admin.php+544
Undefined index: helper
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=amwnlogos
- > Notice in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/class-admin.php+549
Undefined index: supplemental
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=amwnlogos
- > Notice in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/class-admin.php+465
Undefined index: placeholder
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=amwnlogos
- > Notice in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/class-admin.php+510
Undefined index: id
SRP 0% 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/frontend/views/amwnlogos-public-display.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/views/search-list-table-display.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/views/search-list-table-bulk-download.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/logo-scheduler-great-for-holidays-events-and-more/inc/admin/views/amwnlogos-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
5 plugin tags: scheduler, holidays, holiday, logo, schedule
logo-scheduler-great-for-holidays-events-and-more/scheduled-logos.php 77% from 13 tests
The main file in "Logo Scheduler - Great for holidays, events, and more" v. 1.2.3 serves as a complement to information provided in readme.txt and as the entry point to the 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 ("logo-scheduler-great-for-holidays-events-and-more.php" instead of "scheduled-logos.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 173 characters long)
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
Success! There were no dangerous files found in this plugin2,092 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 460 | 1,290 | 1,818 |
JavaScript | 3 | 36 | 101 | 193 |
CSS | 4 | 18 | 20 | 76 |
JSON | 2 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 6 | 5.45% |
▷ Public methods | 82 | 74.55% |
▷ Protected methods | 21 | 19.09% |
▷ Private methods | 7 | 6.36% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
PNG images were not found in this plugin