Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.45ms] Passed 4 tests
An overview of server-side resources used by Parallaxer - Parallax Effect on Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.50 ▲1.96 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.10 ▲0.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.16 ▲5.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.69 ▼3.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.44 ▼0.68 |
Server storage [IO: ▲0.77MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Parallaxer - Parallax Effect on Content
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲132 | 13.76 ▼0.63 | 8.04 ▲6.30 | 43.17 ▲0.19 |
Dashboard /wp-admin | 2,198 ▲20 | 5.58 ▼0.13 | 95.24 ▼9.52 | 41.48 ▼5.02 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.00 ▲0.06 | 39.70 ▲3.77 | 35.77 ▼4.83 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.29 ▼5.33 | 652.76 ▼21.85 | 66.98 ▲7.97 |
Media Library /wp-admin/upload.php | 1,397 ▲3 | 4.22 ▼0.00 | 99.55 ▲3.96 | 46.33 ▲3.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/parallaxer-lite-parallax-effects-on-images/class-parallaxer.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: comments, spam
parallaxer-lite-parallax-effects-on-images/parallaxer.php 92% from 13 tests
"Parallaxer - Parallax Effect on Content" version 1.00's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("parallaxer-lite-parallax-effects-on-images.php" instead of "parallaxer.php")
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
Good job! No executable or dangerous file extensions detected3,956 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 6 | 21 | 1,761 |
XML | 8 | 7 | 0 | 814 |
PHP | 3 | 238 | 85 | 700 |
SVG | 1 | 0 | 0 | 520 |
Sass | 1 | 26 | 5 | 98 |
JavaScript | 2 | 7 | 2 | 32 |
PO File | 1 | 7 | 7 | 31 |
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.57 |
Average class complexity | 40.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 5.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 10 | 55.56% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected