Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.53ms] Passed 4 tests
Analyzing server-side resources used by Home animation slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.28 ▼2.01 |
Dashboard /wp-admin | 3.51 ▲0.21 | 45.49 ▼2.44 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 47.98 ▲1.23 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 85.06 ▼10.90 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 41.41 ▲6.79 |
All slider /wp-admin/edit.php?post_type=haslider-slider | 3.47 | 38.73 |
Add New slider /wp-admin/post-new.php?post_type=haslider-slider | 3.86 | 54.79 |
Server storage [IO: ▲5.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 434 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Home animation slider: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲220 | 14.10 ▼0.28 | 12.71 ▲10.31 | 58.35 ▲12.91 |
Dashboard /wp-admin | 2,244 ▲59 | 5.91 ▲1.01 | 101.73 ▼5.49 | 38.14 ▼8.45 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.08 ▲0.04 | 38.88 ▲2.74 | 33.85 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,544 ▲24 | 23.40 ▲0.16 | 675.84 ▲6.81 | 55.14 ▲5.08 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.25 ▲0.05 | 102.35 ▼10.44 | 49.74 ▲3.56 |
All slider /wp-admin/edit.php?post_type=haslider-slider | 1,110 | 1.99 | 35.82 | 29.24 |
Add New slider /wp-admin/post-new.php?post_type=haslider-slider | 2,372 | 4.01 | 72.75 | 41.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/home-animation-slider/admin/src/cmb2/apigen/hook-docs.php
- 51× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/home-animation-slider/admin/src/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/home-animation-slider/admin/src/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/home-animation-slider/admin/src/cmb2/cmb2-conditionals.php:8
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/home-animation-slider/admin/src/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/home-animation-slider/admin/src/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/home-animation-slider/admin/src/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/home-animation-slider/admin/src/cmb2/includes/CMB2_hookup.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/home-animation-slider/admin/haslider-slider-update-massage.php:47
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/home-animation-slider/admin/haslider-slider-admin-role.php:33
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/home-animation-slider/admin/src/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Donate link: Invalid URI found ("")
home-animation-slider/home-animation-slider.php 92% from 13 tests
Analyzing the main PHP file in "Home animation slider" version 1.0.0
Please make the necessary changes and fix the following:
- 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin56,715 lines of code in 247 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 68 | 2,491 | 6,600 | 9,062 |
CSS | 22 | 1,833 | 1,236 | 8,357 |
SVG | 2 | 0 | 0 | 2,959 |
JavaScript | 19 | 522 | 669 | 2,635 |
Sass | 16 | 300 | 25 | 1,379 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 8 | 11.43% |
▷ Concrete classes | 62 | 88.57% |
▷ Final classes | 0 | 0.00% |
Methods | 547 | |
▷ Static methods | 93 | 17.00% |
▷ Public methods | 452 | 82.63% |
▷ Protected methods | 90 | 16.45% |
▷ Private methods | 5 | 0.91% |
Functions | 60 | |
▷ Named functions | 60 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 6 | 37.50% |
▷ Class constants | 10 | 62.50% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
22 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/src/cmb2/apigen/theme-bootstrap/src/resources/inherit.png | 0.15KB | 0.10KB | ▼ 29.61% |
admin/src/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/src/cmb2/apigen/theme-bootstrap/src/resources/collapsed.png | 0.24KB | 0.14KB | ▼ 41.77% |
admin/src/cmb2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
admin/src/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |