Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼178.86ms] Passed 4 tests
Server-side resources used by Parallax Scroll by adamrob.co.uk
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.12 | 31.64 ▲7.22 |
Dashboard /wp-admin | 3.41 ▲0.34 | 42.00 ▼4.13 |
Posts /wp-admin/edit.php | 3.46 ▲0.35 | 46.57 ▲9.39 |
Add New Post /wp-admin/post-new.php | 5.71 ▲0.27 | 76.78 ▼720.44 |
Media Library /wp-admin/upload.php | 3.35 ▲0.34 | 29.80 ▲1.93 |
Add New /wp-admin/post-new.php?post_type=parallax_scroll | 3.48 | 44.77 |
Parallax Scroll /wp-admin/edit.php?post_type=parallax_scroll | 3.41 | 36.11 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 1 new option
New WordPress options |
---|
adamrob-parallax-scroll-op-version |
Browser metrics Passed 4 tests
A check of browser resources used by Parallax Scroll by adamrob.co.uk
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,716 ▲65 | 15.55 ▼0.17 | 9.12 ▲2.40 | 76.28 ▼0.03 |
Dashboard /wp-admin | 2,965 ▲72 | 6.14 ▲0.03 | 116.33 ▼14.96 | 166.28 ▼8.25 |
Posts /wp-admin/edit.php | 2,775 ▲35 | 3.23 ▼0.01 | 63.90 ▼0.28 | 135.27 ▼2.68 |
Add New Post /wp-admin/post-new.php | 3,830 ▲75 | 18.90 ▲0.93 | 439.64 ▼5.20 | 160.09 ▼1.28 |
Media Library /wp-admin/upload.php | 1,786 ▲34 | 5.48 ▼0.05 | 143.29 ▲0.60 | 185.53 ▼1.12 |
Add New /wp-admin/post-new.php?post_type=parallax_scroll | 3,755 | 9.97 | 194.21 | 223.65 |
Parallax Scroll /wp-admin/edit.php?post_type=parallax_scroll | 2,069 | 3.08 | 60.35 | 109.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 1 option
- adamrob-parallax-scroll-op-version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/adamrob-parallax-scroll/admin/partials/help/adamrob-parallax-scroll-help-posttype-title.php
- > /wp-content/plugins/adamrob-parallax-scroll/admin/partials/help/adamrob-parallax-scroll-help-posttype-style.php
- > /wp-content/plugins/adamrob-parallax-scroll/admin/partials/help/adamrob-parallax-scroll-help-posttype-options.php
- > /wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php
- > /wp-content/plugins/adamrob-parallax-scroll/admin/partials/help/adamrob-parallax-scroll-help-posttype-new.php
- > /wp-content/plugins/adamrob-parallax-scroll/admin/partials/help/adamrob-parallax-scroll-help-posttype-create.php
- > /wp-content/plugins/adamrob-parallax-scroll/admin/partials/help/adamrob-parallax-scroll-help-posttype-fullwidth.php
- 43× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: parameters in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 83
- > PHP Notice
Undefined variable: postid in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 51
- > PHP Notice
Undefined variable: parameters in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 45
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 45
- > PHP Notice
Undefined variable: parameters in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 50
- > PHP Notice
Undefined variable: parameters in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 52
- > PHP Fatal error
Uncaught Error: Class 'Adamrob_Parallax_Scroll_Admin_Base' not found in wp-content/plugins/adamrob-parallax-scroll/admin/class-adamrob-parallax-scroll-post-type.php:22
- > PHP Notice
Undefined variable: parameters in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 19
- > PHP Notice
Undefined variable: parallaxFWStyleClass in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 26
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/adamrob-parallax-scroll/public/partials/adamrob-parallax-scroll-public-parallax-js-legacy.php on line 29
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== adamrob-parallax-scroll ===
)
adamrob-parallax-scroll/adamrob-parallax-scroll.php 92% from 13 tests
The main PHP script in "Parallax Scroll by adamrob.co.uk" version 3.0.1 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,319 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 700 | 1,995 | 1,670 |
JavaScript | 6 | 113 | 91 | 376 |
Markdown | 1 | 40 | 0 | 170 |
CSS | 3 | 23 | 37 | 103 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 2 | 11.11% |
▷ Concrete classes | 16 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 2 | 1.83% |
▷ Public methods | 55 | 50.46% |
▷ Protected methods | 15 | 13.76% |
▷ Private methods | 39 | 35.78% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin