Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.98ms] Passed 4 tests
An overview of server-side resources used by Healthruwords Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.88 ▼2.28 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.72 ▼1.21 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 47.19 ▼1.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.61 ▼15.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 41.93 ▲4.07 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_jr_insta_slider |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Healthruwords Slider: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲136 | 13.41 ▼1.32 | 9.24 ▲7.34 | 41.94 ▼2.84 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▼0.05 | 97.64 ▲7.56 | 41.49 ▼3.22 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.07 | 40.29 ▲3.91 | 31.67 ▼6.11 |
Add New Post /wp-admin/post-new.php | 1,527 ▼8 | 23.23 ▲5.14 | 646.80 ▲0.01 | 59.33 ▼14.22 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.19 ▲0.02 | 102.57 ▲3.69 | 42.27 ▼6.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_jr_insta_slider
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/healthruwords-slider/healthruwords_slider_v1.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== healthruwords-slider ===
) - Tags: You are using too many tags: 18 tag instead of maximum 10
healthruwords-slider/healthruwords_slider_v1.php 92% from 13 tests
Analyzing the main PHP file in "Healthruwords Slider" version 1.3
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("healthruwords-slider.php" instead of "healthruwords_slider_v1.php")
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
Success! There were no dangerous files found in this plugin1,450 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 248 | 182 | 1,135 |
CSS | 3 | 28 | 28 | 183 |
JavaScript | 2 | 14 | 13 | 90 |
XML | 3 | 0 | 0 | 40 |
INI | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 52.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 4 | 5.33% |
▷ Public methods | 66 | 88.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 12.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.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.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/healthruwords-inspirational-images-healing-quotes-logo-widget.png | 6.40KB | 2.42KB | ▼ 62.18% |