Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.91ms] Passed 4 tests
A check of server-side resources used by Parallax Scrolling Enllax.js
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.76 ▼6.39 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.21 ▼6.78 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.68 ▲8.43 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.87 ▼11.79 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.38 ▲1.34 |
Enllax /wp-admin/options-general.php?page=enllax | 3.24 | 31.79 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
parallax_scrolling_enllax_settings |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Parallax Scrolling Enllax.js
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲79 | 13.27 ▼1.28 | 2.59 ▲0.76 | 42.39 ▼9.52 |
Dashboard /wp-admin | 2,204 ▲16 | 5.81 ▲0.92 | 100.48 ▼12.70 | 36.97 ▼2.36 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.00 ▼0.04 | 39.44 ▼2.39 | 38.96 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.16 ▲0.11 | 651.95 ▲42.65 | 49.09 ▼2.78 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.06 | 94.68 ▼10.39 | 41.56 ▼1.89 |
Enllax /wp-admin/options-general.php?page=enllax | 846 | 2.02 | 22.00 | 27.13 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- parallax_scrolling_enllax_settings
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 50% 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/parallax-scrolling-enllax-js/parallax-scrolling-enllax-js.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Contributors: Please add at least on tag
- Contributors: Plugin contributors not specified
parallax-scrolling-enllax-js/parallax-scrolling-enllax-js.php 92% from 13 tests
Analyzing the main PHP file in "Parallax Scrolling Enllax.js" version 0.0.6
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 235 characters long)
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
There were no executable files found in this plugin387 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 23 | 3 | 160 |
PHP | 1 | 15 | 23 | 154 |
PO File | 1 | 19 | 21 | 73 |
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.05 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
enllax-button.png | 0.24KB | 0.15KB | ▼ 39.52% |