Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.42MB] [CPU: ▲2.51ms] Passed 4 tests
A check of server-side resources used by Launch Checklist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 46.97 ▲8.61 |
Dashboard /wp-admin | 3.84 ▲0.49 | 60.15 ▼1.47 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 53.99 ▲3.84 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 96.24 ▼0.95 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 44.35 ▲8.67 |
Launch Checklist /wp-admin/admin.php?page=wp_launch_checklist | 3.81 | 51.04 |
Settings /wp-admin/admin.php?page=wp_launch_checklist_settings | 3.67 | 38.13 |
Server storage [IO: ▲0.11MB] [DB: ▲0.03MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Launch Checklist
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲68 | 14.38 ▲0.10 | 2.14 ▲0.28 | 44.83 ▼4.45 |
Dashboard /wp-admin | 2,227 ▲50 | 5.68 ▲0.08 | 91.83 ▲0.39 | 37.06 ▼2.71 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.04 ▲0.02 | 39.41 ▼3.37 | 31.94 ▼6.34 |
Add New Post /wp-admin/post-new.php | 1,550 ▲5 | 17.68 ▼5.43 | 680.04 ▼19.90 | 52.16 ▼15.05 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.22 ▲0.02 | 103.93 ▼2.88 | 44.49 ▼3.62 |
Launch Checklist /wp-admin/admin.php?page=wp_launch_checklist | 2,766 | 1.72 | 27.79 | 36.72 |
Settings /wp-admin/admin.php?page=wp_launch_checklist_settings | 833 | 2.08 | 26.17 | 30.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/launch-checklist/admin/partials/checklist-items/settings-sections.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: args in wp-content/plugins/launch-checklist/admin/partials/checklist-items/settings-sections.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/launch-checklist/admin/partials/checklist-settings/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function WpLaunchChecklist\\Launch_Checklist\\esc_attr() in wp-content/plugins/launch-checklist/admin/partials/checklist-items/settings-section.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/launch-checklist/admin/partials/checklist-items/layout.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/launch-checklist/config/checklist_items.php:8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/launch-checklist/admin/partials/checklist-items/settings-sections.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function WpLaunchChecklist\\Launch_Checklist\\esc_attr() in wp-content/plugins/launch-checklist/admin/partials/form-fields/select.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function WpLaunchChecklist\\Launch_Checklist\\esc_attr() in wp-content/plugins/launch-checklist/admin/partials/form-fields/checkbox-checklist-items.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function WpLaunchChecklist\\Launch_Checklist\\esc_attr() in wp-content/plugins/launch-checklist/admin/partials/form-fields/text.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function WpLaunchChecklist\\Launch_Checklist\\esc_attr() in wp-content/plugins/launch-checklist/admin/partials/form-fields/checkbox.php:4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: checklist, launch, pre-launch
launch-checklist/wp-launch-checklist.php 85% from 13 tests
"Launch Checklist" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("launch-checklist.php" instead of "wp-launch-checklist.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin1,920 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 445 | 982 | 1,657 |
YAML | 1 | 7 | 0 | 62 |
CSS | 1 | 13 | 5 | 54 |
XML | 2 | 4 | 12 | 47 |
JSON | 2 | 0 | 0 | 35 |
Markdown | 1 | 9 | 0 | 35 |
JavaScript | 1 | 12 | 27 | 30 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 15 | 17.86% |
▷ Public methods | 73 | 86.90% |
▷ Protected methods | 4 | 4.76% |
▷ Private methods | 7 | 8.33% |
Functions | 17 | |
▷ Named functions | 15 | 88.24% |
▷ Anonymous functions | 2 | 11.76% |
Constants | 5 | |
▷ Global constants | 5 | 100.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 images were found in this plugin