Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.84MB] [CPU: ▲2.06ms] Passed 4 tests
This is a short check of server-side resources used by ThemeRegion Companion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.85 | 47.19 ▲7.14 |
Dashboard /wp-admin | 4.15 ▲0.85 | 55.06 ▲7.18 |
Posts /wp-admin/edit.php | 4.20 ▲0.84 | 59.34 ▲9.61 |
Add New Post /wp-admin/post-new.php | 6.76 ▲0.87 | 89.73 ▼15.68 |
Media Library /wp-admin/upload.php | 4.05 ▲0.82 | 43.82 ▲10.37 |
Tags /wp-admin/edit-tags.php?taxonomy=folio_tag&post_type=folio | 4.07 | 42.79 |
All Items /wp-admin/edit.php?post_type=folio | 4.12 | 54.80 |
Add New /wp-admin/post-new.php?post_type=folio | 4.18 | 59.74 |
Category /wp-admin/edit-tags.php?taxonomy=folio_category&post_type=folio | 4.07 | 44.86 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 123 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_trc_recent_posts_widget |
widget_trcsocial_widget |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_trcimagewithtitle_widget |
widget_trc_mailchimp |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ThemeRegion Companion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,131 ▲396 | 15.93 ▲1.56 | 5.67 ▲3.70 | 44.40 ▲1.43 |
Dashboard /wp-admin | 2,451 ▲263 | 6.94 ▲2.05 | 141.75 ▲29.31 | 39.87 ▼6.85 |
Posts /wp-admin/edit.php | 2,360 ▲271 | 3.44 ▲1.39 | 60.82 ▲14.79 | 37.14 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,615 ▲82 | 23.25 ▲0.22 | 652.23 ▼24.51 | 32.77 ▼25.15 |
Media Library /wp-admin/upload.php | 1,499 ▲114 | 4.68 ▲0.57 | 84.51 ▼32.30 | 43.48 ▼2.55 |
Tags /wp-admin/edit-tags.php?taxonomy=folio_tag&post_type=folio | 1,536 | 3.56 | 46.90 | 27.42 |
All Items /wp-admin/edit.php?post_type=folio | 1,346 | 3.42 | 47.72 | 28.34 |
Add New /wp-admin/post-new.php?post_type=folio | 2,457 | 8.21 | 173.82 | 67.00 |
Category /wp-admin/edit-tags.php?taxonomy=folio_category&post_type=folio | 1,537 | 3.66 | 45.24 | 29.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 10 options
- can_compress_scripts
- widget_trc_mailchimp
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_trcsocial_widget
- widget_trc_recent_posts_widget
- widget_trcimagewithtitle_widget
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/themeregion-companion/admin/partials/themeregion-companion-admin-display.php
- > /wp-content/plugins/themeregion-companion/public/partials/themeregion-companion-public-display.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/themeregion-companion/public/partials/inc/widgets/tr.social.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/themeregion-companion/public/partials/inc/widgets/tr.image.title.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/themeregion-companion/public/partials/inc/widgets/tr.recent.posts.widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themeregion-companion/admin/partials/post-types.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themeregion-companion/public/partials/inc/tr.postlike.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themeregion-companion/public/partials/inc/widgets/tr.mailchimp.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themeregion-companion/public/partials/tr.postlike.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== themeregion-companion ===
)
themeregion-companion/themeregion-companion.php Passed 13 tests
The main file in "ThemeRegion Companion" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
This plugin comes with all the core libraries of themeregion themes.
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
Good job! No executable or dangerous file extensions detected17,918 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 95 | 2,633 | 1,767 | 10,513 |
CSS | 6 | 269 | 442 | 3,759 |
JavaScript | 7 | 1,108 | 374 | 3,501 |
PO File | 1 | 63 | 71 | 143 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 18.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 5.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 2 | 3.12% |
▷ Concrete classes | 62 | 96.88% |
▷ Final classes | 0 | 0.00% |
Methods | 252 | |
▷ Static methods | 36 | 14.29% |
▷ Public methods | 246 | 97.62% |
▷ Protected methods | 1 | 0.40% |
▷ Private methods | 5 | 1.98% |
Functions | 60 | |
▷ Named functions | 59 | 98.33% |
▷ Anonymous functions | 1 | 1.67% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/partials/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |