Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.61ms] Passed 4 tests
Analyzing server-side resources used by High Performance CSS Only Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.02 ▼3.23 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.96 ▼13.73 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.37 ▼1.57 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.38 ▼3.89 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.86 ▲0.83 |
Add New Slide /wp-admin/post-new.php?post_type=slider | 3.38 | 51.21 |
HPCSS Slider /wp-admin/edit.php?post_type=slider | 3.31 | 37.40 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for High Performance CSS Only Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.20 ▼1.38 | 1.82 ▼0.38 | 43.53 ▲0.56 |
Dashboard /wp-admin | 2,233 ▲45 | 4.84 ▼0.08 | 107.91 ▼3.75 | 42.63 ▼5.10 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.05 ▲0.04 | 40.28 ▲2.99 | 36.11 ▲3.27 |
Add New Post /wp-admin/post-new.php | 1,560 ▲25 | 23.38 ▲0.27 | 668.05 ▲11.64 | 58.65 ▲6.51 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.25 ▲0.01 | 102.43 ▲2.57 | 45.19 ▲3.35 |
Add New Slide /wp-admin/post-new.php?post_type=slider | 2,165 | 7.58 | 185.04 | 66.56 |
HPCSS Slider /wp-admin/edit.php?post_type=slider | 1,079 | 1.98 | 32.07 | 28.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/high-performance-css-slider/hpcss_slider.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: wordpress slider, photo slider, fullwidth slider, css only slider, slider...
high-performance-css-slider/hpcss_slider.php 92% from 13 tests
The entry point to "High Performance CSS Only Slider" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("high-performance-css-slider.php" instead of "hpcss_slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected226 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 22 | 9 | 124 |
PHP | 1 | 15 | 7 | 102 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 7 | |
▷ Named functions | 7 | 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 images were found in this plugin