Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▼0.62ms] Passed 4 tests
A check of server-side resources used by Cozy Essential Addons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 40.35 ▼3.48 |
Dashboard /wp-admin | 3.98 ▲0.68 | 48.39 ▼2.88 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 51.22 ▲1.67 |
Add New Post /wp-admin/post-new.php | 7.14 ▲1.25 | 98.86 ▲10.58 |
Media Library /wp-admin/upload.php | 3.84 ▲0.61 | 38.36 ▲2.21 |
All Faqs /wp-admin/edit.php?post_type=cea_faq | 3.88 | 44.50 |
Add New /wp-admin/post-new.php?post_type=cea_promotion | 7.13 | 87.86 |
Service Categories /wp-admin/edit-tags.php?taxonomy=cea_service_category&post_type=cea_service | 3.84 | 36.62 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=cea_portfolio_category&post_type=cea_portfolio | 3.84 | 37.26 |
Add New /wp-admin/post-new.php?post_type=cea_faq | 7.13 | 88.28 |
Faqs Categories /wp-admin/edit-tags.php?taxonomy=cea_faq_category&post_type=cea_faq | 3.84 | 35.60 |
Add New /wp-admin/post-new.php?post_type=cea_service | 7.13 | 87.47 |
Add New /wp-admin/post-new.php?post_type=cea_testimonial | 7.13 | 87.32 |
Team Categories /wp-admin/edit-tags.php?taxonomy=cea_team_category&post_type=cea_team | 3.84 | 40.21 |
Add New /wp-admin/post-new.php?post_type=cea_team | 7.13 | 87.21 |
Server storage [IO: ▲22.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 463 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cozy Essential Addons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,103 ▲341 | 13.40 ▼1.31 | 8.33 ▲6.36 | 40.00 ▼3.65 |
Dashboard /wp-admin | 2,408 ▲234 | 5.66 ▼0.03 | 92.56 ▼7.10 | 44.78 ▲1.61 |
Posts /wp-admin/edit.php | 2,313 ▲213 | 2.00 ▲0.06 | 42.43 ▼0.28 | 36.69 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,706 ▲175 | 23.49 ▲0.52 | 623.74 ▼75.89 | 60.97 ▼1.27 |
Media Library /wp-admin/upload.php | 1,613 ▲216 | 4.21 ▲0.01 | 96.79 ▼11.16 | 41.92 ▼5.30 |
All Faqs /wp-admin/edit.php?post_type=cea_faq | 1,299 | 2.07 | 36.49 | 34.44 |
Add New /wp-admin/post-new.php?post_type=cea_promotion | 6,383 | 22.88 | 808.13 | 28.09 |
Service Categories /wp-admin/edit-tags.php?taxonomy=cea_service_category&post_type=cea_service | 1,484 | 2.30 | 33.88 | 35.02 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=cea_portfolio_category&post_type=cea_portfolio | 1,484 | 2.30 | 29.87 | 33.65 |
Add New /wp-admin/post-new.php?post_type=cea_faq | 6,381 | 22.83 | 802.84 | 31.50 |
Faqs Categories /wp-admin/edit-tags.php?taxonomy=cea_faq_category&post_type=cea_faq | 1,487 | 2.30 | 29.17 | 37.25 |
Add New /wp-admin/post-new.php?post_type=cea_service | 6,381 | 23.21 | 717.47 | 30.53 |
Add New /wp-admin/post-new.php?post_type=cea_testimonial | 1,741 | 16.84 | 755.35 | 39.85 |
Team Categories /wp-admin/edit-tags.php?taxonomy=cea_team_category&post_type=cea_team | 1,481 | 2.30 | 29.36 | 33.47 |
Add New /wp-admin/post-new.php?post_type=cea_team | 6,624 | 19.97 | 737.25 | 35.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 take a closer look at the following
- 80× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-post-block.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-promotion-block.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-portfolio-full-single-row.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-portfolio-full-dark.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-footer-block.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-banner-with-form-layout-2.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-pricing-table-featured-plan.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-magazine-multiple-category.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-magazine-featured-layout.php
- > /wp-content/plugins/cozy-essential-addons/patterns/ct-team-text-overlay.php
- 232× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/ha-featured-services-textcenter.php on line 13
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/ha-portfolio-section.php on line 14
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/homepage-template-store.php on line 10
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/ha-pricing-tables-layout-three.php on line 9
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/ct-banner-form-with-background-image.php on line 9
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/ha-portfolio-section.php on line 13
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/ha-featured-services-textcenter.php on line 10
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/homepage-template-business.php on line 16
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/homepage-template-webagency.php on line 14
- > PHP Warning
Use of undefined constant COZY_ESSENTIAL_ADDONS_URL - assumed 'COZY_ESSENTIAL_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cozy-essential-addons/patterns/ha-testimonials-block.php on line 12
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: promotions, faqs, custom-post-type, services, teams...
cozy-essential-addons/cozy-essential-addons.php Passed 13 tests
The main PHP script in "Cozy Essential Addons" version 1.1.10 is automatically included on every request by WordPress
126 characters long description:
Cozy Essential Addons is the free WordPress plugin for Custom post type and provides basic skeletal for custom post type list.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected14,589 lines of code in 267 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 170 | 2,204 | 1,443 | 14,176 |
CSS | 5 | 5 | 13 | 303 |
JSON | 89 | 0 | 0 | 89 |
JavaScript | 2 | 3 | 56 | 14 |
SVG | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 4 | 9.30% |
▷ Public methods | 36 | 83.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 16.28% |
Functions | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
105 compressed PNG files occupy 1.95MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/hello-agency-assets/logo_8.png | 2.33KB | 2.46KB | 0.00% |
includes/demos/fota-agency/free/1/screenshot.png | 19.13KB | 19.98KB | 0.00% |
includes/demos/fotawp/pro/18/screenshot.png | 21.89KB | 22.46KB | 0.00% |
admin/images/hello-agency-assets/testimonial_1.png | 17.82KB | 18.78KB | 0.00% |
admin/images/hello-agency-assets/logo_3.png | 0.38KB | 0.38KB | 0.00% |