Benchmarks
Plugin footprint 65% 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.11MB] [CPU: ▼3.61ms] Passed 4 tests
This is a short check of server-side resources used by WP Parallax Content Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 44.37 ▲0.46 |
Dashboard /wp-admin | 3.41 ▲0.11 | 48.28 ▼3.91 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 58.25 ▲10.56 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 88.23 ▼8.88 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 38.11 ▼2.10 |
WP Parallax Content Slider /wp-admin/options-general.php?page=wp-parallax-content-slider | 3.31 | 35.78 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 55 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
prlx_slider_settings |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Parallax Content Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.42 ▼0.21 | 2.35 ▲0.65 | 44.68 ▲1.94 |
Dashboard /wp-admin | 2,207 ▲25 | 5.84 ▲0.94 | 97.54 ▼5.78 | 41.38 ▼3.57 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▲0.00 | 39.07 ▲0.28 | 36.28 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 23.09 ▲0.01 | 587.71 ▼59.08 | 54.84 ▼4.45 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▲0.02 | 97.01 ▼5.88 | 42.32 ▼2.57 |
WP Parallax Content Slider /wp-admin/options-general.php?page=wp-parallax-content-slider | 1,223 | 2.05 | 22.80 | 28.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WpParallaxContentSlider::uninstall() should not be called statically
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- prlx_slider_settings
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-parallax-content-slider/wp-parallax-content-slider.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-parallax-content-slider/static-slides-sample.php:16
- > 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
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (The slider displayed after the header), #2 (The admin panel)
wp-parallax-content-slider/wp-parallax-content-slider.php Passed 13 tests
The main PHP file in "WP Parallax Content Slider" ver. 0.9.8 adds more information about the plugin and also serves as the entry point for this plugin
78 characters long description:
A customizable JQuery content slider with CSS3 animations and parallax effects
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 plugin4,750 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 954 | 1,997 | 2,457 |
CSS | 5 | 45 | 26 | 1,480 |
PHP | 3 | 96 | 125 | 612 |
JavaScript | 4 | 125 | 26 | 201 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.54MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/default.png | 23.97KB | 7.75KB | ▼ 67.68% |
images/1.png | 85.16KB | 24.51KB | ▼ 71.22% |
images/3.png | 68.21KB | 16.66KB | ▼ 75.57% |
images/2.png | 67.76KB | 19.93KB | ▼ 70.59% |
images/arrows.png | 1.48KB | 0.69KB | ▼ 53.56% |