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
Installer ran successfully
Server metrics [RAM: ▲0.66MB] [CPU: ▲0.15ms] Passed 4 tests
A check of server-side resources used by Image 3D Carousel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 46.34 ▼3.84 |
Dashboard /wp-admin | 3.99 ▲0.69 | 58.77 ▲6.94 |
Posts /wp-admin/edit.php | 4.01 ▲0.66 | 53.53 ▲5.59 |
Add New Post /wp-admin/post-new.php | 6.71 ▲0.83 | 91.86 ▼8.09 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 41.52 ▲9.62 |
Add New /wp-admin/post-new.php?post_type=image_3d_cl | 4.39 | 55.66 |
All Carousel Images /wp-admin/edit.php?post_type=image_3d_cl | 3.96 | 41.22 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 129 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Image 3D Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲199 | 13.92 ▼0.68 | 5.69 ▲3.87 | 41.74 ▲0.49 |
Dashboard /wp-admin | 2,247 ▲59 | 5.00 ▼0.88 | 111.30 ▼1.25 | 40.98 ▼6.67 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.26 ▲0.27 | 40.65 ▲1.19 | 35.09 ▲2.38 |
Add New Post /wp-admin/post-new.php | 1,550 ▲12 | 23.42 ▲5.14 | 664.60 ▲42.90 | 49.72 ▲0.93 |
Media Library /wp-admin/upload.php | 1,432 ▲47 | 4.30 ▲0.08 | 108.10 ▲4.53 | 43.67 ▼2.54 |
Add New /wp-admin/post-new.php?post_type=image_3d_cl | 1,894 | 4.10 | 80.12 | 48.10 |
All Carousel Images /wp-admin/edit.php?post_type=image_3d_cl | 1,105 | 2.19 | 34.27 | 28.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 43× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/image-3d-carousel/functions.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/image-3d-carousel/library/metabox/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: responsive image gallery, carousel shortcode, jquery 3d image, simple image gallery, image showcase...
image-3d-carousel/plugin.php 92% from 13 tests
The principal PHP file in "Image 3D Carousel" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("image-3d-carousel.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin15,175 lines of code in 105 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 64 | 2,343 | 6,375 | 7,362 |
CSS | 14 | 1,209 | 1,154 | 4,872 |
JavaScript | 9 | 358 | 547 | 1,478 |
Sass | 16 | 300 | 25 | 1,379 |
Markdown | 1 | 30 | 0 | 67 |
JSON | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 8 | 11.59% |
▷ Concrete classes | 61 | 88.41% |
▷ Final classes | 0 | 0.00% |
Methods | 555 | |
▷ Static methods | 87 | 15.68% |
▷ Public methods | 450 | 81.08% |
▷ Protected methods | 88 | 15.86% |
▷ Private methods | 17 | 3.06% |
Functions | 47 | |
▷ Named functions | 35 | 74.47% |
▷ Anonymous functions | 12 | 25.53% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.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
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
library/metabox/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
library/metabox/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
library/metabox/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
library/metabox/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
library/metabox/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |