Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.51MB] [CPU: ▼16.28ms] Passed 4 tests
Server-side resources used by Carrossel with Glider.js
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 41.31 ▲0.11 |
Dashboard /wp-admin | 3.47 ▲0.17 | 50.39 ▼1.79 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 50.48 ▼0.01 |
Add New Post /wp-admin/post-new.php | 3.32 ▼2.56 | 39.23 ▼63.41 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.43 ▲2.84 |
Add New /wp-admin/post-new.php?post_type=carousel | 3.31 | 36.88 |
Categories /wp-admin/edit-tags.php?taxonomy=categoria-carousel&post_type=carousel | 3.39 | 33.59 |
Carousel /wp-admin/edit.php?post_type=carousel | 3.44 | 39.70 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Carrossel with Glider.js
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲104 | 14.47 ▲0.06 | 2.24 ▲0.39 | 43.56 ▲0.25 |
Dashboard /wp-admin | 2,250 ▲59 | 4.85 ▼0.97 | 113.09 ▲8.06 | 47.38 ▲4.32 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 1.99 ▼0.05 | 39.47 ▼3.50 | 36.92 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,577 ▲41 | 23.11 ▼0.29 | 642.62 ▲33.36 | 50.48 ▼5.09 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.20 ▼0.04 | 108.62 ▲1.32 | 48.95 ▲3.89 |
Add New /wp-admin/post-new.php?post_type=carousel | 1,571 | 16.72 | 797.07 | 35.59 |
Categories /wp-admin/edit-tags.php?taxonomy=categoria-carousel&post_type=carousel | 1,312 | 2.14 | 31.29 | 30.08 |
Carousel /wp-admin/edit.php?post_type=carousel | 1,117 | 1.95 | 33.43 | 27.74 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=carousel
- > Notice in wp-content/plugins/carousel-glider-js/includes/cgj_custom-post-carousel.php+103
Undefined index: url_link
- > GET request to /wp-admin/post-new.php?post_type=carousel
- > Notice in wp-content/plugins/carousel-glider-js/includes/cgj_custom-post-carousel.php+104
Undefined index: target_link
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=carousel
- > Notice in wp-content/plugins/carousel-glider-js/includes/cgj_custom-post-carousel.php+106
Trying to get property 'ID' of non-object
SRP 50% 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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/carousel-glider-js/includes/cgj-options.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/carousel-glider-js/includes/cgj_custom-post-carousel.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/carousel-glider-js/includes/cgj-options.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: slider, carousel
carousel-glider-js/carrossel-glider-js.php 85% from 13 tests
The entry point to "Carrossel with Glider.js" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("carousel-glider-js.php" instead of "carrossel-glider-js.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin8,331 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 6,453 |
PHP | 9 | 135 | 30 | 679 |
JavaScript | 6 | 111 | 56 | 545 |
Sass | 4 | 63 | 32 | 332 |
PO File | 2 | 82 | 100 | 190 |
CSS | 3 | 0 | 1 | 132 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
PNG images were not found in this plugin