Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▼3.98ms] Passed 4 tests
Server-side resources used by Safelayout Cute Preloader - CSS3 Wordpress Preloader
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 37.47 ▼4.42 |
Dashboard /wp-admin | 3.90 ▲0.59 | 47.13 ▼8.79 |
Posts /wp-admin/edit.php | 3.95 ▲0.59 | 49.76 ▲3.94 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 94.11 ▼6.63 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 36.14 ▲4.54 |
Safelayout Preloader /wp-admin/options-general.php?page=safelayout-cute-preloader | 3.79 | 44.23 |
Server storage [IO: ▲0.70MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
safelayout_preloader_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
safelayout_preloader_options_upgrade |
safelayout_preloader_options_rate |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Safelayout Cute Preloader - CSS3 Wordpress Preloader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲238 | 14.33 ▼0.02 | 5.21 ▲3.53 | 50.04 ▲4.99 |
Dashboard /wp-admin | 2,199 ▲22 | 5.56 ▼0.07 | 85.71 ▼6.48 | 39.63 ▲0.31 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.95 ▼0.00 | 40.73 ▲3.91 | 35.75 ▼1.82 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.70 ▼0.43 | 613.18 ▼9.53 | 52.65 ▼4.83 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▲0.01 | 95.84 ▼6.38 | 40.26 ▼5.07 |
Safelayout Preloader /wp-admin/options-general.php?page=safelayout-cute-preloader | 3,251 | 4.60 | 101.61 | 90.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- safelayout_preloader_options_upgrade
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- safelayout_preloader_options_rate
- can_compress_scripts
- db_upgraded
- safelayout_preloader_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: loading, loader, wordpress preloader, preloader, preload
safelayout-cute-preloader/safelayout-cute-preloader.php Passed 13 tests
The entry point to "Safelayout Cute Preloader - CSS3 Wordpress Preloader" version 2.0.1 is a PHP file that has certain tags in its header comment area
67 characters long description:
Easily add a pure CSS animated preloader to your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected11,134 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 326 | 424 | 6,456 |
CSS | 4 | 139 | 289 | 3,879 |
JavaScript | 6 | 96 | 45 | 799 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 107.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 281.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 109 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.23MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/pro-color-info.png | 5.54KB | 3.17KB | ▼ 42.85% |
assets/image/safelayout-elegant-icons.png | 206.00KB | 73.86KB | ▼ 64.14% |
assets/image/pro-bar-info.png | 4.64KB | 2.78KB | ▼ 40.02% |
assets/image/pro-display-info.png | 7.28KB | 4.04KB | ▼ 44.53% |
assets/image/pro-icon-info.png | 3.87KB | 2.42KB | ▼ 37.38% |