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
Installer ran successfully
Server metrics [RAM: ▲0.90MB] [CPU: ▲3.77ms] Passed 4 tests
An overview of server-side resources used by Eight Day Week Print Workflow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.40 ▲0.94 | 50.56 ▲10.63 |
Dashboard /wp-admin | 4.22 ▲0.87 | 58.08 ▼5.78 |
Posts /wp-admin/edit.php | 4.27 ▲0.91 | 51.35 ▼0.21 |
Add New Post /wp-admin/post-new.php | 6.81 ▲0.92 | 109.62 ▲10.44 |
Media Library /wp-admin/upload.php | 4.14 ▲0.91 | 48.09 ▲11.67 |
Dummy Submenu /wp-admin/edit.php?post_type=print-issue&page=removeme | 3.95 | 34.43 |
Server storage [IO: ▲0.23MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
edw_activated |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Eight Day Week Print Workflow: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 14.28 ▼0.12 | 1.72 ▲0.22 | 44.03 ▲7.17 |
Dashboard /wp-admin | 2,237 ▲69 | 5.65 ▼0.04 | 93.12 ▼4.42 | 41.96 ▼4.34 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.01 ▼0.03 | 36.14 ▲2.67 | 33.07 ▼3.91 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.53 ▲0.44 | 649.47 ▼14.44 | 49.83 ▼21.10 |
Media Library /wp-admin/upload.php | 1,436 ▲39 | 4.20 ▼0.01 | 97.21 ▼16.79 | 41.33 ▼5.21 |
Dummy Submenu /wp-admin/edit.php?post_type=print-issue&page=removeme | 28 | 0.42 | 0.10 | 4.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- edw_activated
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function Eight_Day_Week\\Plugins\\add_filter() in wp-content/plugins/eight-day-week-print-workflow/plugins.php:24
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/eight-day-week-print-workflow/includes/functions/articles.php on line 90
- > 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/eight-day-week-print-workflow/includes/functions/articles.php on line 90
- > PHP Fatal error
Uncaught Error: Call to undefined function Eight_Day_Week\\Plugins\\add_filter() in wp-content/plugins/eight-day-week-print-workflow/plugins.php:24
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/eight-day-week-print-workflow/includes/functions/articles.php on line 90
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=print-issue&page=removeme
- > Network (severe)
wp-admin/edit.php?post_type=print-issue&page=removeme - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: print, editorial, workflow
eight-day-week-print-workflow/eight-day-week.php 92% from 13 tests
The main file in "Eight Day Week Print Workflow" v. 1.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("eight-day-week-print-workflow.php" instead of "eight-day-week.php")
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
Success! There were no dangerous files found in this plugin4,372 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 773 | 1,844 | 2,640 |
JavaScript | 3 | 338 | 147 | 1,495 |
Sass | 2 | 30 | 7 | 141 |
CSS | 2 | 29 | 8 | 96 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 6 | 10.53% |
▷ Public methods | 55 | 96.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.51% |
Functions | 173 | |
▷ Named functions | 160 | 92.49% |
▷ Anonymous functions | 13 | 7.51% |
Constants | 11 | |
▷ Global constants | 11 | 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