Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.39ms] Passed 4 tests
A check of server-side resources used by Parallax Scroll - Parallax Scrolling Backgrounds & Call to Action WordPress Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.19 ▲0.87 |
Dashboard /wp-admin | 3.35 ▲0.01 | 44.74 ▼14.51 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.81 ▼9.31 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.06 ▲7.24 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.86 ▲1.39 |
Usage & Help /wp-admin/edit.php?post_type=lgx_parallax&page=lgx_counter_help_usage | 3.31 | 34.76 |
Add New /wp-admin/post-new.php?post_type=lgx_parallax | 3.45 | 52.78 |
All Sections /wp-admin/edit.php?post_type=lgx_parallax | 3.35 | 39.89 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Parallax Scroll - Parallax Scrolling Backgrounds & Call to Action WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲81 | 14.37 ▲0.01 | 1.66 ▲0.14 | 39.40 ▲1.27 |
Dashboard /wp-admin | 2,221 ▲43 | 5.62 ▼0.20 | 117.85 ▲5.09 | 68.29 ▲29.96 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.01 ▲0.05 | 39.25 ▲1.47 | 36.84 ▲5.07 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 25.28 ▲1.99 | 599.80 ▼93.83 | 66.95 ▲8.81 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.25 ▲0.03 | 101.82 ▲3.40 | 45.31 ▲4.80 |
Usage & Help /wp-admin/edit.php?post_type=lgx_parallax&page=lgx_counter_help_usage | 1,286 | 3.26 | 41.83 | 47.97 |
Add New /wp-admin/post-new.php?post_type=lgx_parallax | 3,255 | 7.67 | 221.32 | 92.92 |
All Sections /wp-admin/edit.php?post_type=lgx_parallax | 1,300 | 3.48 | 52.29 | 27.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/parallax-scroll-wp/public/partials/parallax-scroll-wp-public-display.php
- > /wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_help_block.php
- > /wp-content/plugins/parallax-scroll-wp/admin/partials/parallax-scroll-wp-admin-display.php
- > /wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_get_pro.php
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_header.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/parallax-scroll-wp/public/partials/view-controller.php:24
- > PHP Notice
Undefined variable: post in wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_help_block.php on line 19
- > PHP Notice
Undefined variable: atts in wp-content/plugins/parallax-scroll-wp/public/partials/view-controller.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/parallax-scroll-wp/public/partials/template/view-default.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/parallax-scroll-wp/public/partials/view-controller.php on line 23
- > PHP Notice
Undefined variable: post in wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_help_block.php on line 7
- > PHP Warning
Use of undefined constant LGX_PARALLAX_PLUGIN_META_FIELD_PRO - assumed 'LGX_PARALLAX_PLUGIN_META_FIELD_PRO' (this will throw an Error in a future version of PHP) in wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_get_pro.php on line 7
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_help_block.php on line 19
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/parallax-scroll-wp/admin/partials/shortcode_meta_display/__section_meta_help_block.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
parallax-scroll-wp/parallax-scroll-wp.php Passed 13 tests
The main file in "Parallax Scroll - Parallax Scrolling Backgrounds & Call to Action WordPress Plugin" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
108 characters long description:
Amazing Section Builder Plugin to Build a Responsive and Attractive Section with Background Parallax Effect.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected8,574 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
LESS | 18 | 609 | 163 | 4,840 |
PHP | 33 | 949 | 938 | 2,086 |
JavaScript | 9 | 283 | 593 | 1,196 |
CSS | 7 | 6 | 7 | 452 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 34.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 5.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 2 | 3.33% |
▷ Public methods | 54 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/lgx-logo-metabox.png | 4.97KB | 2.39KB | ▼ 51.88% |
admin/img/ls-logo.png | 0.97KB | 0.11KB | ▼ 88.59% |