Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.27ms] Passed 4 tests
An overview of server-side resources used by Fade Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.41 ▲4.01 |
Dashboard /wp-admin | 3.44 ▲0.14 | 47.47 ▼0.03 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.43 ▼1.33 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 78.91 ▼21.47 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.28 ▲1.74 |
All Sliders /wp-admin/edit.php?post_type=fade_slider | 3.40 | 33.52 |
Add New /wp-admin/post-new.php?post_type=fade_slider | 3.42 | 45.01 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Fade Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 13.79 ▼0.76 | 9.15 ▲7.31 | 44.98 ▲3.90 |
Dashboard /wp-admin | 2,231 ▲40 | 5.02 ▼1.03 | 99.92 ▲1.43 | 37.38 ▼6.73 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.31 ▲0.32 | 42.27 ▲6.36 | 35.84 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 18.57 ▲1.00 | 622.30 ▼53.45 | 34.22 ▼19.26 |
Media Library /wp-admin/upload.php | 1,410 ▲25 | 4.31 ▼0.00 | 101.39 ▼0.27 | 48.08 ▲2.74 |
All Sliders /wp-admin/edit.php?post_type=fade_slider | 1,067 | 2.29 | 39.75 | 28.30 |
Add New /wp-admin/post-new.php?post_type=fade_slider | 1,940 | 3.77 | 77.78 | 37.11 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/fade-slider/index.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fade-slider/admin/fadeslider_admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fade-slider/public/fadeslider_public.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (screenshot-1.png), #2 (screenshot-2.png)
fade-slider/fadeslider_init.php 77% from 13 tests
The principal PHP file in "Fade Slider" v. 2.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("fade-slider.php" instead of "fadeslider_init.php")
- Description: The description should be shorter than 140 characters (currently 166 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin1,099 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 57 | 41 | 525 |
SVG | 1 | 0 | 0 | 288 |
CSS | 3 | 11 | 9 | 188 |
JavaScript | 2 | 18 | 10 | 98 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 14 | |
▷ Named functions | 14 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 36.20KB | 8.33KB | ▼ 76.98% |
screenshot-1.png | 116.66KB | 36.20KB | ▼ 68.97% |
screenshot-3.png | 14.19KB | 8.02KB | ▼ 43.47% |