Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▲1.87ms] Passed 4 tests
A check of server-side resources used by Scroll Magic Addon for WPBakery Page Builde
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 43.44 ▲0.36 |
Dashboard /wp-admin | 3.45 ▲0.15 | 67.02 ▲12.23 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 53.36 ▲0.91 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 102.49 ▲7.93 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.18 ▼1.73 |
Server storage [IO: ▲1.73MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- The plugin illegally modified 7 files (0.00KB) outside of "wp-content/plugins/scrollmagic-for-wp-bakery/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/scrollmagic-for-wp-bakery/assets/lib/gsap/SVG-edit_files/jquery.min.js.t\341\272\243i xu\341\273\221ng"
- (new file) "wp-content/plugins/scrollmagic-for-wp-bakery/assets/lib/gsap/SVG-edit_files/redirect-on-lacking-support.js.t\341\272\243i xu\341\273\221ng"
- (new file) "wp-content/plugins/scrollmagic-for-wp-bakery/assets/lib/gsap/SVG-edit_files/svgedit-config-iife.js.t\341\272\243i xu\341\273\221ng"
- (new file) "wp-content/plugins/scrollmagic-for-wp-bakery/assets/lib/gsap/SVG-edit_files/jquery-ui-1.8.17.custom.min.js.t\341\272\243i xu\341\273\221ng"
- (new file) "wp-content/plugins/scrollmagic-for-wp-bakery/assets/lib/gsap/SVG-edit_files/minified.js.t\341\272\243i xu\341\273\221ng"
- (new file) "wp-content/plugins/scrollmagic-for-wp-bakery/assets/lib/gsap/SVG-edit_files/dom-polyfill.js.t\341\272\243i xu\341\273\221ng"
- (new file) "wp-content/plugins/scrollmagic-for-wp-bakery/assets/lib/gsap/SVG-edit_files/runtime.js.t\341\272\243i xu\341\273\221ng"
Filesystem: 141 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Scroll Magic Addon for WPBakery Page Builde
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼11 | 13.23 ▲0.10 | 1.67 ▼0.58 | 42.99 ▼2.69 |
Dashboard /wp-admin | 2,209 ▼0 | 4.82 ▼0.06 | 105.23 ▼14.89 | 39.42 ▼4.02 |
Posts /wp-admin/edit.php | 2,068 ▼21 | 2.03 ▲0.01 | 39.17 ▲5.31 | 36.36 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.51 ▲0.21 | 659.06 ▼34.40 | 65.46 ▼10.06 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.07 | 98.23 ▼3.79 | 41.48 ▲0.16 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 81× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_empty_space.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_icon.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_wp_calendar.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_tab.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_basic_grid_filter.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_tabs.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_tta_global.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_gitem_block.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_wp_categories.php
- > /wp-content/plugins/scrollmagic-for-wp-bakery/php/shortcodes/vc_tweetmeme.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Create.), #2 (scroll.)
- Tags: You are using too many tags: 13 tag instead of maximum 10
scrollmagic-for-wp-bakery/index.php 77% from 13 tests
"Scroll Magic Addon for WPBakery Page Builde" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("scrollmagic-for-wp-bakery.php" instead of "index.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected10,118 lines of code in 122 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 87 | 772 | 1,182 | 5,243 |
JavaScript | 23 | 303 | 1,770 | 2,665 |
CSS | 8 | 278 | 89 | 1,521 |
HTML | 1 | 23 | 49 | 670 |
Sass | 3 | 1 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/drawsvg.png | 4.47KB | 3.53KB | ▼ 20.93% |
assets/admin/images/splittext.png | 6.50KB | 3.01KB | ▼ 53.72% |
assets/admin/images/sequence.png | 9.46KB | 3.70KB | ▼ 60.88% |