Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/noor-responsive-tab/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.38MB] [CPU: ▼49.83ms] Passed 4 tests
An overview of server-side resources used by Noor Responsive Tab
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.61 ▼0.86 | 9.93 ▼31.71 |
Dashboard /wp-admin | 2.63 ▼0.68 | 9.46 ▼40.80 |
Posts /wp-admin/edit.php | 2.63 ▼0.73 | 11.13 ▼42.63 |
Add New Post /wp-admin/post-new.php | 2.63 ▼3.26 | 9.39 ▼84.16 |
Media Library /wp-admin/upload.php | 2.63 ▼0.60 | 8.49 ▼29.08 |
Tabs Category /wp-admin/edit-tags.php?taxonomy=tab_cat&post_type=rstab | 2.63 | 11.14 |
Tabs /wp-admin/edit.php?post_type=rstab | 2.63 | 9.73 |
Add New /wp-admin/post-new.php?post_type=rstab | 2.63 | 10.82 |
Server storage [IO: ▲2.46MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 199 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Noor Responsive Tab
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 13.80 ▼0.55 | 10.62 ▲8.77 | 87.86 ▲43.80 |
Dashboard /wp-admin | 2,231 ▲54 | 5.65 ▼0.02 | 84.07 ▼10.15 | 38.99 ▼1.26 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.03 ▲0.03 | 38.73 ▼2.23 | 37.54 ▼2.82 |
Add New Post /wp-admin/post-new.php | 1,573 ▲45 | 24.90 ▲1.71 | 602.05 ▼98.94 | 66.46 ▲14.79 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.29 ▲0.11 | 97.00 ▼4.82 | 45.71 ▼2.70 |
Tabs Category /wp-admin/edit-tags.php?taxonomy=tab_cat&post_type=rstab | 1,304 | 2.12 | 26.41 | 29.13 |
Tabs /wp-admin/edit.php?post_type=rstab | 1,114 | 1.97 | 30.77 | 31.21 |
Add New /wp-admin/post-new.php?post_type=rstab | 6,623 | 7.80 | 184.93 | 125.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/noor-responsive-tab/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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=rstab
- > Deprecated in wp-content/plugins/noor-responsive-tab/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
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=rstab
- > Warning in wp-content/plugins/noor-responsive-tab/framework/includes/wpalchemy/MetaBox.php+2657
count(): Parameter must be an array or an object that implements Countable
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=rstab
- > User deprecated in wp-includes/functions.php+5453
Function wp_richedit_pre is deprecated since version 4.3.0! Use format_for_editor() instead.
- > GET request to /wp-admin/post-new.php?post_type=rstab
- > Deprecated in wp-content/plugins/noor-responsive-tab/framework/bootstrap.php+195
Function create_function() is deprecated
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
Almost there! Just fix the following items
- 115× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'VP_Util_Text' not found in wp-content/plugins/noor-responsive-tab/framework/views/option/section.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/noor-responsive-tab/framework/includes/wpalchemy/MetaBox.php:22
- > 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/noor-responsive-tab/framework/config/dependencies.php on line 176
- > 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/noor-responsive-tab/framework/config/dependencies.php on line 140
- > 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/noor-responsive-tab/framework/config/dependencies.php on line 188
- > PHP Fatal error
Uncaught Error: Class 'VP_Control_FieldMulti' not found in wp-content/plugins/noor-responsive-tab/framework/classes/control/field/select.php:3
- > PHP Fatal error
Uncaught Error: Class 'VP_Option_Control_Group' not found in wp-content/plugins/noor-responsive-tab/framework/classes/option/control/group/section.php:3
- > PHP Fatal error
Uncaught Error: Class 'VP_View' not found in wp-content/plugins/noor-responsive-tab/framework/views/control/multiselect.php:1
- > PHP Fatal error
Uncaught Error: Class 'VP_Control_Field' not found in wp-content/plugins/noor-responsive-tab/framework/classes/control/field/wpeditor.php:3
- > PHP Fatal error
Uncaught Error: Class 'VP_Control_Field' not found in wp-content/plugins/noor-responsive-tab/framework/classes/control/field/textbox.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=rstab
- > Javascript (severe) in unknown
/wp-content/plugins/noor-responsive-tab/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=rstab
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&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/noor-responsive-tab/framework/public/js/shared.min.js?ver=1.1:1:18433)\n at HTMLDivElement.\u003Canonymous> (/wp-content/plugins/noor-responsive-tab/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&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&ver=6.3.1:2:1594)\n at e (/wp-content/plugins/noor-responsive-tab/framework/public/js/metabox.min.js?ver=6.3.1:1:915)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/noor-responsive-tab/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&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&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=rstab
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: tab with icon, bootstarp tab, powerful wordpress tab plugin, responsive tab
noor-responsive-tab/noor-responsive-tab.php 92% from 13 tests
Analyzing the main PHP file in "Noor Responsive Tab" version 1.0
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 293 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin22,814 lines of code in 161 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 628 | 423 | 10,472 |
PHP | 91 | 2,122 | 2,331 | 8,830 |
JavaScript | 49 | 447 | 303 | 2,971 |
SVG | 1 | 0 | 0 | 414 |
PO File | 1 | 40 | 47 | 99 |
Markdown | 1 | 12 | 0 | 27 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- 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
All PNG images should be compressed to minimize bandwidth usage for end users
22 PNG files occupy 0.05MB with 0.02MB 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_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
framework/public/img/vp-logo.png | 1.94KB | 0.66KB | ▼ 65.94% |
framework/public/css/vendor/jqueryui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
framework/public/css/vendor/jqueryui/themes/smoothness/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
framework/public/img/bootstrap-colorpicker/hue.png | 2.90KB | 0.50KB | ▼ 82.71% |