Benchmarks
Plugin footprint 65% 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: ▼1.42MB] [CPU: ▼52.81ms] Passed 4 tests
Server-side resources used by WP Dream Carousel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.57 ▼0.90 | 8.12 ▼40.33 |
Dashboard /wp-admin | 2.59 ▼0.72 | 9.63 ▼45.92 |
Posts /wp-admin/edit.php | 2.59 ▼0.77 | 10.83 ▼35.94 |
Add New Post /wp-admin/post-new.php | 2.59 ▼3.30 | 8.96 ▼89.05 |
Media Library /wp-admin/upload.php | 2.59 ▼0.64 | 9.36 ▼27.41 |
Add New /wp-admin/post-new.php?post_type=wp_dream_carousel | 2.59 | 9.78 |
Install Plugins /wp-admin/themes.php?page=install-required-plugins | 2.59 | 10.20 |
All Carousels /wp-admin/edit.php?post_type=wp_dream_carousel | 2.59 | 9.21 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Dream Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲196 | 13.52 ▼0.77 | 12.43 ▲10.69 | 42.61 ▼2.23 |
Dashboard /wp-admin | 2,259 ▲82 | 5.71 ▲0.04 | 87.05 ▼7.46 | 82.20 ▲41.43 |
Posts /wp-admin/edit.php | 2,173 ▲70 | 2.04 ▲0.09 | 41.36 ▲3.50 | 40.55 ▲4.00 |
Add New Post /wp-admin/post-new.php | 1,737 ▲211 | 22.18 ▼1.03 | 724.44 ▲75.36 | 81.92 ▲18.76 |
Media Library /wp-admin/upload.php | 1,463 ▲69 | 4.27 ▲0.07 | 100.06 ▼4.21 | 74.68 ▲29.13 |
Add New /wp-admin/post-new.php?post_type=wp_dream_carousel | 1,582 | 2.63 | 52.77 | 84.02 |
Install Plugins /wp-admin/themes.php?page=install-required-plugins | 980 | 2.05 | 25.82 | 27.50 |
All Carousels /wp-admin/edit.php?post_type=wp_dream_carousel | 1,140 | 1.98 | 34.85 | 37.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp-dream-carousel/public/class-wp-dream-carousel.php+63
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wp_dream_carousel
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-dream-carousel/public/class-wp-dream-carousel.php+63
Trying to access array offset on value of type bool
- > GET request to /wp-admin/themes.php?page=install-required-plugins
- > Warning in wp-content/plugins/wp-dream-carousel/public/class-tgm-plugin-activation.php+1977
Declaration of TGM_Bulk_Installer_Skin::before() should be compatible with Bulk_Upgrader_Skin::before($title = '')
- > GET request to /wp-admin/themes.php?page=install-required-plugins
- > Warning in wp-content/plugins/wp-dream-carousel/public/class-tgm-plugin-activation.php+1999
Declaration of TGM_Bulk_Installer_Skin::after() should be compatible with Bulk_Upgrader_Skin::after($title = '')
- > GET request to /wp-admin/themes.php?page=install-required-plugins
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=install-required-plugins
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-dream-carousel/parts/meta-boxes/slides-use.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/wp-dream-carousel/parts/meta-boxes/slides-definitions.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-dream-carousel/parts/settings/wpdc-settings-slider.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-dream-carousel/parts/meta-boxes/slides-images.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-dream-carousel/parts/settings/wpdc-settings-general.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-dream-carousel/public/class-tgm-plugin-activation.php:164
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/wp-dream-carousel/parts/meta-boxes/slides-definitions.php:11
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/wp-dream-carousel/parts/meta-boxes/slides-use.php on line 10
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/wp-dream-carousel/parts/meta-boxes/slides-images.php on line 9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== wp-dream-carousel ===
)
wp-dream-carousel/wp-dream-carousel.php 85% from 13 tests
This is the main PHP file of "WP Dream Carousel" version 1.0.1b..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "1.0.1b...")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,658 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 483 | 1,074 | 1,419 |
JavaScript | 5 | 316 | 303 | 782 |
CSS | 2 | 61 | 8 | 454 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 7 | 10.94% |
▷ Public methods | 53 | 82.81% |
▷ Protected methods | 6 | 9.38% |
▷ Private methods | 5 | 7.81% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.39MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 106.76KB | 36.73KB | ▼ 65.60% |
assets/screenshot-4.png | 43.91KB | 15.45KB | ▼ 64.82% |
assets/carousel.png | 1.08KB | 0.29KB | ▼ 73.47% |
assets/screenshot-1.png | 23.10KB | 9.37KB | ▼ 59.45% |
public/assets/images/nav.png | 0.78KB | 0.46KB | ▼ 40.28% |