Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.71MB] [CPU: ▼44.41ms] Passed 4 tests
Server-side resources used by MG Parallax Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.27 ▼0.19 | 10.55 ▼26.28 |
Dashboard /wp-admin | 3.29 ▼0.01 | 14.02 ▼35.32 |
Posts /wp-admin/edit.php | 3.30 ▼0.06 | 12.59 ▼32.28 |
Add New Post /wp-admin/post-new.php | 3.29 ▼2.59 | 13.42 ▼83.75 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 14.30 ▼20.31 |
Add New /wp-admin/post-new.php?post_type=mgps_ps | 3.30 | 13.07 |
Background /wp-admin/admin.php?page=mgps_options&tab=0 | 3.30 | 15.00 |
Title /wp-admin/admin.php?page=mgps_options&tab=2 | 3.30 | 15.40 |
All Items /wp-admin/edit.php?post_type=mgps_ps | 3.30 | 15.10 |
Import / Export /wp-admin/admin.php?page=mgps_options&tab=5 | 3.30 | 15.64 |
Navigation Arrows /wp-admin/admin.php?page=mgps_options&tab=4 | 3.30 | 17.65 |
Slides /wp-admin/admin.php?page=mgps_options&tab=1 | 3.30 | 14.75 |
Contents /wp-admin/admin.php?page=mgps_options&tab=3 | 3.30 | 17.44 |
Server storage [IO: ▲6.09MB] [DB: ▲0.07MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- The plugin illegally modified 1 file (145.03KB) outside of "wp-content/plugins/mg-parallax-slider/" and "wp-content/uploads/"
- (new file) wp-content/redux/google-fonts/googlefonts.json
Filesystem: 406 new files
Database: no new tables, 9 new options
New WordPress options |
---|
mgps |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
redux-framework-tracking |
mgps-transients |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by MG Parallax Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,029 ▲268 | 13.50 ▼0.68 | 9.98 ▲8.40 | 37.30 ▼2.56 |
Dashboard /wp-admin | 2,296 ▲122 | 5.64 ▲0.03 | 83.39 ▼5.45 | 38.09 ▼4.65 |
Posts /wp-admin/edit.php | 2,204 ▲104 | 1.99 ▼0.00 | 35.44 ▼1.49 | 35.19 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,607 ▲79 | 23.35 ▲0.26 | 619.45 ▼42.11 | 55.52 ▲1.60 |
Media Library /wp-admin/upload.php | 1,504 ▲104 | 4.18 ▼0.05 | 93.93 ▼1.93 | 40.54 ▼0.84 |
Add New /wp-admin/post-new.php?post_type=mgps_ps | 2,425 | 7.62 | 199.90 | 67.30 |
Background /wp-admin/admin.php?page=mgps_options&tab=0 | 2,393 | 5.25 | 110.31 | 136.50 |
Title /wp-admin/admin.php?page=mgps_options&tab=2 | 2,742 | 4.99 | 121.51 | 116.39 |
All Items /wp-admin/edit.php?post_type=mgps_ps | 1,182 | 1.96 | 29.54 | 29.51 |
Import / Export /wp-admin/admin.php?page=mgps_options&tab=5 | 2,215 | 4.67 | 70.91 | 126.87 |
Navigation Arrows /wp-admin/admin.php?page=mgps_options&tab=4 | 2,347 | 5.02 | 86.57 | 118.03 |
Slides /wp-admin/admin.php?page=mgps_options&tab=1 | 2,243 | 4.70 | 73.99 | 110.23 |
Contents /wp-admin/admin.php?page=mgps_options&tab=3 | 2,742 | 4.92 | 119.38 | 141.68 |
Uninstaller [IO: ▲0.14MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/mg-parallax-slider/framework/core/extensions/customizer/extension_customizer.php+312
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- Zombie WordPress options detected upon uninstall: 9 options
- mgps
- redux-framework-tracking
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- mgps-transients
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 40 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Warning in wp-content/plugins/mg-parallax-slider/framework/core/extensions/customizer/extension_customizer.php+382
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
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
Please fix the following items
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mg-parallax-slider/framework/core/extensions/customizer/extension_customizer.php on line 312
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mg-parallax-slider/framework/core/inc/fields/select/elusive-icons.php:312
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mg-parallax-slider/framework/core/extensions/customizer/extension_customizer.php on line 382
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mg-parallax-slider/framework/core/extensions/customizer/extension_customizer.php on line 325
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mg-parallax-slider/framework/core/extensions/customizer/extension_customizer.php on line 351
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mg-parallax-slider/framework/core/extensions/customizer/extension_customizer.php on line 363
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mg-parallax-slider/mg-parallax-slider.php:67
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/037-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/036-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/033-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/default-bg-1.gif - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/034-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/026-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/029-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/031-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/022-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/023-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/024-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/009-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/001-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/014-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/015-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/bgr1-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/032-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/arrows.png - Failed to load resource: the server responded with a status of 404 ()
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=3
- > Network (severe)
https://3b073ac2c18e8837dfd43e1fefb99744f0b466e0.googledrive.com/host/0B_asRBcBoGviZXB2LVB6cDBNbHM/images/bgr2-1.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=mgps_options&tab=1
- > Javascript (severe) in unknown
/wp-content/plugins/mg-parallax-slider/framework/core/inc/fields/slides/field_slides.min.js?ver=1697795586 0:582 Uncaught TypeError: b.find(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Donate link: Invalid URI ("")
mg-parallax-slider/mg-parallax-slider.php 85% from 13 tests
"MG Parallax Slider" version 1.0....'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "1.0....")
- Description: Keep the plugin description shorter than 140 characters (currently 419 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin37,161 lines of code in 325 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 153 | 2,771 | 2,148 | 12,052 |
PHP | 69 | 2,817 | 4,179 | 10,129 |
JSON | 2 | 0 | 0 | 4,963 |
CSS | 42 | 314 | 148 | 4,502 |
LESS | 31 | 388 | 196 | 4,011 |
Sass | 24 | 3 | 0 | 1,070 |
SVG | 1 | 0 | 0 | 309 |
Markdown | 2 | 29 | 0 | 70 |
Bourne Shell | 1 | 24 | 0 | 55 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 35.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 764.00 |
Average method complexity | 7.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 66 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 349 | |
▷ Static methods | 27 | 7.74% |
▷ Public methods | 333 | 95.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 4.58% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
35 PNG files occupy 0.43MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
framework/core/inc/fields/spinner/arrow_left.png | 0.15KB | 0.12KB | ▼ 16.67% |
framework/core/inc/fields/color_rgba/vendor/minicolors/jquery.minicolors.png | 75.64KB | 34.31KB | ▼ 54.64% |
framework/core/assets/img/menu_icon.png | 1.41KB | 0.50KB | ▼ 64.62% |
framework/core/assets/js/vendor/select2/select2.png | 0.60KB | 0.99KB | 0.00% |
screenshot.png | 306.16KB | 152.00KB | ▼ 50.35% |