Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/comic-easel/functions/filters.php+23
Undefined variable: link
Server metrics [RAM: ▼1.56MB] [CPU: ▼54.59ms] Passed 4 tests
Server-side resources used by Comic Easel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 5.32 ▼33.76 |
Dashboard /wp-admin | 2.48 ▼0.82 | 7.28 ▼42.64 |
Posts /wp-admin/edit.php | 2.49 ▼0.87 | 8.86 ▼42.56 |
Add New Post /wp-admin/post-new.php | 2.48 ▼3.40 | 7.85 ▼99.39 |
Media Library /wp-admin/upload.php | 2.48 ▼0.74 | 10.13 ▼27.03 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=comic | 2.55 | 8.01 |
Chapters /wp-admin/edit-tags.php?taxonomy=chapters&post_type=comic | 2.55 | 8.84 |
Debug /wp-admin/edit.php?post_type=comic&page=comiceasel-debug | 2.49 | 8.21 |
Locations /wp-admin/edit-tags.php?taxonomy=locations&post_type=comic | 2.55 | 8.32 |
Characters /wp-admin/edit-tags.php?taxonomy=characters&post_type=comic | 2.55 | 8.14 |
Add Comic /wp-admin/post-new.php?post_type=comic | 2.49 | 8.11 |
Import /wp-admin/edit.php?post_type=comic&page=comiceasel-import | 2.49 | 14.56 |
Monetize /wp-admin/edit.php?post_type=comic&page=comiceasel-monetize | 2.49 | 9.64 |
All Comics /wp-admin/edit.php?post_type=comic | 2.49 | 13.64 |
Config /wp-admin/edit.php?post_type=comic&page=comiceasel-config | 2.49 | 8.64 |
Server storage [IO: ▲0.93MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 144 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_ceo_casthover_reference_widget |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_ceo_comic_list_dropdown_widget |
widget_ceo_comic_blog_post_widget |
widget_ceo_bf_adwidget |
widget_recent-comments |
can_compress_scripts |
widget_ceo_comic_archive_dropdown_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Comic Easel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲171 | 13.71 ▼0.71 | 1.98 ▲0.24 | 38.48 ▼12.53 |
Dashboard /wp-admin | 2,298 ▲107 | 5.87 ▲0.97 | 99.14 ▼8.69 | 90.75 ▲49.78 |
Posts /wp-admin/edit.php | 2,147 ▲55 | 2.14 ▲0.13 | 36.66 ▼3.00 | 32.91 ▼4.18 |
Add New Post /wp-admin/post-new.php | 1,616 ▲102 | 23.02 ▲5.37 | 751.15 ▲144.20 | 53.15 ▲0.96 |
Media Library /wp-admin/upload.php | 1,443 ▲58 | 4.14 ▼0.10 | 99.96 ▲1.87 | 73.23 ▲28.27 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=comic | 1,365 | 2.14 | 27.46 | 32.31 |
Chapters /wp-admin/edit-tags.php?taxonomy=chapters&post_type=comic | 1,383 | 2.14 | 28.99 | 31.00 |
Debug /wp-admin/edit.php?post_type=comic&page=comiceasel-debug | 1,483 | 2.02 | 24.65 | 24.58 |
Locations /wp-admin/edit-tags.php?taxonomy=locations&post_type=comic | 1,320 | 2.14 | 25.84 | 28.80 |
Characters /wp-admin/edit-tags.php?taxonomy=characters&post_type=comic | 1,292 | 2.13 | 26.73 | 30.47 |
Add Comic /wp-admin/post-new.php?post_type=comic | 3,737 | 7.58 | 190.61 | 149.41 |
Import /wp-admin/edit.php?post_type=comic&page=comiceasel-import | 969 | 2.23 | 28.39 | 28.20 |
Monetize /wp-admin/edit.php?post_type=comic&page=comiceasel-monetize | 1,020 | 2.21 | 25.89 | 46.30 |
All Comics /wp-admin/edit.php?post_type=comic | 1,197 | 1.95 | 34.01 | 30.74 |
Config /wp-admin/edit.php?post_type=comic&page=comiceasel-config | 2,368 | 1.70 | 27.47 | 41.96 |
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
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/comic-easel/functions/filters.php+23
Undefined variable: link
- This plugin did not uninstall successfully, leaving 17 options in the database
- widget_ceo_bf_adwidget
- widget_recent-posts
- widget_ceo_calendar_widget
- comiceasel-config
- widget_ceo_thumbnail_widget
- widget_ceo_comic_list_dropdown_widget
- can_compress_scripts
- widget_ceo_comic_archive_dropdown_widget
- widget_recent-comments
- widget_ceo_casthover_reference_widget
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 22 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=comic&page=comiceasel-config
- > Notice in wp-content/plugins/comic-easel/functions/filters.php+24
Undefined variable: link
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
Almost there! Just fix the following items
- 30× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function is_active_widget() in wp-content/plugins/comic-easel/functions/casthover.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/comic-easel/ceo-import.php:141
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/comic-easel/functions/displaycomic.php:197
- > PHP Fatal error
Uncaught Error: Call to undefined function is_active_widget() in wp-content/plugins/comic-easel/widgets/casthover.php:28
- > PHP Fatal error
Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/comic-easel/widgets/archive-dropdown.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comic-easel/comiceasel.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/comic-easel/monetize/afmain.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function ceo_pluginfo() in wp-content/plugins/comic-easel/ceo-config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/comic-easel/functions/shortcodes.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/comic-easel/widgets/recentcomics.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=comic&page=comiceasel-config
- > Network (severe)
wp-admin/css/global.css?version=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=comic&page=comiceasel-config
- > Network (severe)
wp-admin/css/ie.css?version=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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
4 plugin tags: webcomic, easel, comiceasel, comic
comic-easel/comiceasel.php 85% from 13 tests
The main PHP script in "Comic Easel" version 1.15 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 299 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("comic-easel.php" instead of "comiceasel.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin7,853 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 551 | 551 | 5,687 |
CSS | 12 | 255 | 37 | 1,113 |
PO File | 1 | 449 | 994 | 923 |
JavaScript | 5 | 34 | 18 | 130 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 18.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 45 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 171 | |
▷ Named functions | 171 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
91 PNG files occupy 0.41MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/nav/silver/nextchap.png | 11.03KB | 4.78KB | ▼ 56.66% |
images/nav/comical/sharebox.png | 7.46KB | 3.61KB | ▼ 51.62% |
images/buynow_paypal.png | 4.07KB | 2.25KB | ▼ 44.87% |
images/nav/npc/subscribe.png | 3.64KB | 2.61KB | ▼ 28.30% |
images/nav/npc/prev-in.png | 2.75KB | 1.32KB | ▼ 52.04% |