Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/amazing-team-member-carousel/framework/includes/wpalchemy/MetaBox.php+61
Methods with the same name as their class will not be constructors in a future version of PHP; WPAlchemy_MetaBox has a deprecated constructor
Server metrics [RAM: ▼1.39MB] [CPU: ▼55.80ms] Passed 4 tests
This is a short check of server-side resources used by Amazing Team Member Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.61 ▼0.85 | 8.04 ▼36.82 |
Dashboard /wp-admin | 2.63 ▼0.72 | 10.07 ▼57.90 |
Posts /wp-admin/edit.php | 2.63 ▼0.73 | 10.21 ▼42.27 |
Add New Post /wp-admin/post-new.php | 2.63 ▼3.26 | 9.99 ▼86.20 |
Media Library /wp-admin/upload.php | 2.63 ▼0.60 | 11.21 ▼21.71 |
Team Members /wp-admin/edit.php?post_type=ateam-member | 2.63 | 10.23 |
Add New /wp-admin/post-new.php?post_type=ateam-member | 2.63 | 10.24 |
Team Members Category /wp-admin/edit-tags.php?taxonomy=ateam_member_cat&post_type=ateam-member | 2.63 | 11.54 |
Server storage [IO: ▲2.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 208 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Amazing Team Member Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲182 | 13.62 ▼0.77 | 8.16 ▲6.36 | 35.96 ▼2.84 |
Dashboard /wp-admin | 2,222 ▲45 | 5.58 ▲0.04 | 84.73 ▼12.06 | 43.39 ▲0.62 |
Posts /wp-admin/edit.php | 2,136 ▲33 | 2.00 ▲0.03 | 38.14 ▲1.36 | 39.08 ▲3.59 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 23.08 ▼0.18 | 640.20 ▼29.51 | 66.49 ▲11.46 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.25 ▲0.07 | 98.21 ▼4.76 | 44.12 ▼0.70 |
Team Members /wp-admin/edit.php?post_type=ateam-member | 1,114 | 1.97 | 31.84 | 30.81 |
Add New /wp-admin/post-new.php?post_type=ateam-member | 2,433 | 3.84 | 73.00 | 88.91 |
Team Members Category /wp-admin/edit-tags.php?taxonomy=ateam_member_cat&post_type=ateam-member | 1,307 | 2.12 | 26.96 | 30.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/amazing-team-member-carousel/framework/includes/wpalchemy/MetaBox.php+61
Methods with the same name as their class will not be constructors in a future version of PHP; WPAlchemy_MetaBox has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=ateam_member_cat&post_type=ateam-member
- > Deprecated in wp-content/plugins/amazing-team-member-carousel/framework/includes/wpalchemy/MetaBox.php+61
Methods with the same name as their class will not be constructors in a future version of PHP; WPAlchemy_MetaBox has a deprecated constructor
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ateam-member
- > Warning in wp-content/plugins/amazing-team-member-carousel/framework/includes/wpalchemy/MetaBox.php+2657
count(): Parameter must be an array or an object that implements Countable
SRP 50% 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 fix the following
- 117× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'VP_Control_FieldMulti' not found in wp-content/plugins/amazing-team-member-carousel/framework/classes/control/field/select.php:3
- > PHP Warning
Use of undefined constant VP_PUBLIC_URL - assumed 'VP_PUBLIC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/amazing-team-member-carousel/framework/config/dependencies.php on line 27
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/amazing-team-member-carousel/admin/metabox/settings.php:12
- > PHP Fatal error
Uncaught Error: Class 'VP_View' not found in wp-content/plugins/amazing-team-member-carousel/framework/views/control/checkimage.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amazing-team-member-carousel/framework/includes/wpalchemy/MetaBox.php:22
- > PHP Notice
Undefined variable: is_compact in wp-content/plugins/amazing-team-member-carousel/framework/views/control/slider.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'VP_View' not found in wp-content/plugins/amazing-team-member-carousel/framework/views/control/fontawesome.php:1
- > PHP Fatal error
Uncaught Error: Class 'VP_Control_Field' not found in wp-content/plugins/amazing-team-member-carousel/framework/classes/control/field/toggle.php:3
- > PHP Notice
Undefined variable: type in wp-content/plugins/amazing-team-member-carousel/framework/views/control/notebox.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'VP_View' not found in wp-content/plugins/amazing-team-member-carousel/framework/views/control/toggle.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=ateam-member
- > Javascript (severe) in unknown
/wp-content/plugins/amazing-team-member-carousel/framework/public/js/vendor/jquery.tipsy.js?ver=1.0.0a 179:24 Uncaught TypeError: this[binder] is not a function
- > GET request to /wp-admin/post-new.php?post_type=ateam-member
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: vp.init_ace_editor is not a function" "TypeError: vp.init_ace_editor is not a function\n at vp.init_controls (/wp-content/plugins/amazing-team-member-carousel/framework/public/js/shared.min.js?ver=1.1:1:18433)\n at HTMLDivElement.\u003Canonymous> (/wp-content/plugins/amazing-team-member-carousel/framework/public/js/metabox.min.js?ver=6.3.1:1:975)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:1594)\n at e (/wp-content/plugins/amazing-team-member-carousel/framework/public/js/metabox.min.js?ver=6.3.1:1:915)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/amazing-team-member-carousel/framework/public/js/metabox.min.js?ver=6.3.1:1:2532)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=ateam-member
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: vp.init_ace_editor is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: modern team member wp, team member, responsive, unlimited colors, carousel...
amazing-team-member-carousel/amazing-team-member-carousel.php 92% from 13 tests
The principal PHP file in "Amazing Team Member Carousel" v. 2.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 175 characters long)
Code Analysis 97% from 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
No dangerous file extensions were detected17,710 lines of code in 167 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 92 | 2,098 | 2,320 | 8,838 |
JavaScript | 51 | 661 | 318 | 4,485 |
CSS | 19 | 244 | 203 | 3,784 |
SVG | 1 | 0 | 0 | 414 |
PO File | 1 | 40 | 47 | 99 |
Markdown | 2 | 31 | 0 | 89 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 102)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 271.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 102.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 4 | 7.14% |
▷ Concrete classes | 52 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 505 | |
▷ Static methods | 89 | 17.62% |
▷ Public methods | 472 | 93.47% |
▷ Protected methods | 19 | 3.76% |
▷ Private methods | 14 | 2.77% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 40 | |
▷ Global constants | 37 | 92.50% |
▷ Class constants | 3 | 7.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
22 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
framework/public/css/vendor/jqueryui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
framework/public/img/bootstrap-colorpicker/hue.png | 2.90KB | 0.50KB | ▼ 82.71% |
framework/public/img/vp-logo.png | 1.94KB | 0.66KB | ▼ 65.94% |
framework/public/img/vp_shortcode_icon.png | 1.13KB | 0.18KB | ▼ 84.22% |
framework/public/css/vendor/jqueryui/themes/smoothness/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |