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
Install script ran successfully
Server metrics [RAM: ▲1.30MB] [CPU: ▲3.69ms] Passed 4 tests
An overview of server-side resources used by Toocheke Companion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.71 ▲1.24 | 45.41 ▲1.99 |
Dashboard /wp-admin | 4.66 ▲1.31 | 58.96 ▼4.86 |
Posts /wp-admin/edit.php | 4.73 ▲1.37 | 64.35 ▲15.75 |
Add New Post /wp-admin/post-new.php | 7.26 ▲1.37 | 94.69 ▲1.86 |
Media Library /wp-admin/upload.php | 4.50 ▲1.27 | 52.05 ▲16.94 |
Import /wp-admin/admin.php?page=toocheke-import | 4.50 | 47.11 |
All Comics /wp-admin/edit.php?post_type=comic | 4.59 | 53.70 |
Comic Locations /wp-admin/edit-tags.php?taxonomy=comic_locations&post_type=comic | 4.53 | 48.98 |
Dashboard /wp-admin/admin.php?page=toocheke-menu | 4.50 | 48.21 |
All Series /wp-admin/edit.php?post_type=series | 4.58 | 55.77 |
Comic Characters /wp-admin/edit-tags.php?taxonomy=comic_characters&post_type=comic | 4.53 | 51.04 |
Options /wp-admin/admin.php?page=toocheke-options-page | 4.50 | 46.36 |
Comic Chapters /wp-admin/edit-tags.php?taxonomy=chapters&post_type=comic | 4.53 | 49.05 |
Series Tags /wp-admin/edit-tags.php?taxonomy=series_tags&post_type=series | 4.53 | 43.18 |
Series Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=series | 4.53 | 51.81 |
Server storage [IO: ▲3.38MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 81 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Toocheke Companion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,150 ▲378 | 15.04 ▲0.33 | 6.23 ▲4.30 | 38.80 ▼5.90 |
Dashboard /wp-admin | 2,433 ▲253 | 6.42 ▲0.77 | 122.13 ▲22.54 | 43.08 ▼3.26 |
Posts /wp-admin/edit.php | 2,358 ▲258 | 3.53 ▲1.57 | 59.90 ▲19.90 | 35.54 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,603 ▲77 | 22.95 ▲0.13 | 628.66 ▼12.61 | 35.82 ▼13.14 |
Media Library /wp-admin/upload.php | 1,501 ▲98 | 4.34 ▲0.20 | 84.19 ▼11.27 | 42.63 ▲0.89 |
Import /wp-admin/admin.php?page=toocheke-import | 1,117 | 3.42 | 44.86 | 28.37 |
All Comics /wp-admin/edit.php?post_type=comic | 1,483 | 3.66 | 55.08 | 34.11 |
Comic Locations /wp-admin/edit-tags.php?taxonomy=comic_locations&post_type=comic | 1,544 | 3.44 | 43.20 | 29.39 |
Dashboard /wp-admin/admin.php?page=toocheke-menu | 1,081 | 3.22 | 42.24 | 70.82 |
All Series /wp-admin/edit.php?post_type=series | 1,438 | 3.48 | 52.67 | 30.13 |
Comic Characters /wp-admin/edit-tags.php?taxonomy=comic_characters&post_type=comic | 1,641 | 3.37 | 47.26 | 32.32 |
Options /wp-admin/admin.php?page=toocheke-options-page | 1,112 | 3.39 | 40.92 | 28.40 |
Comic Chapters /wp-admin/edit-tags.php?taxonomy=chapters&post_type=comic | 1,669 | 3.36 | 49.85 | 36.16 |
Series Tags /wp-admin/edit-tags.php?taxonomy=series_tags&post_type=series | 1,535 | 3.35 | 52.17 | 32.15 |
Series Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=series | 1,624 | 3.35 | 49.07 | 31.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 25× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Toocheke_Companion_Comic_Features' not found in wp-content/plugins/toocheke-companion/templates/content-comicblogpost.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/toocheke-companion/templates/content-toptencomics.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/toocheke-companion/templates/content-comicarchive.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_categories() in wp-content/plugins/toocheke-companion/templates/content-characters.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/toocheke-companion/toocheke-companion-import.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/toocheke-companion/inc/toocheke-companion-import.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/toocheke-companion/templates/content-comicarchivegallery.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/toocheke-companion/toocheke-companion.php:5720
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/toocheke-companion/templates/content-allchapters.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/toocheke-companion/templates/content-chaptersnavigation.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% 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
6 plugin tags: companion, comic, cartoon, webtoon, toocheke...
toocheke-companion/toocheke-companion.php 92% from 13 tests
The primary PHP file in "Toocheke Companion" version 1.127 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
Good job! No executable or dangerous file extensions detected24,216 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 8,894 |
CSS | 17 | 3,632 | 106 | 8,387 |
PHP | 26 | 892 | 1,042 | 6,521 |
JavaScript | 7 | 76 | 37 | 414 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 185.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 548.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 292 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 288 | 98.63% |
▷ Protected methods | 4 | 1.37% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ToochekeWPAdminDashboardHero.png | 5.25KB | 2.51KB | ▼ 52.30% |
img/no-image.png | 13.95KB | 6.68KB | ▼ 52.14% |
img/default-thumbnail-image.png | 6.13KB | 3.86KB | ▼ 36.99% |