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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.79ms] Passed 4 tests
Analyzing server-side resources used by Moortak Lof Slider News
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.27 ▲3.37 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.42 ▼4.61 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.26 ▼5.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.12 ▼24.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.74 ▼1.16 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_mlsn_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Moortak Lof Slider News
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲179 | 13.78 ▼0.47 | 5.76 ▲4.11 | 37.18 ▼9.23 |
Dashboard /wp-admin | 2,206 ▲21 | 5.84 ▲0.96 | 105.63 ▲6.67 | 39.43 ▼2.36 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.97 ▼0.05 | 38.41 ▼2.81 | 33.60 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.75 ▲0.30 | 672.36 ▼1.08 | 63.57 ▲3.80 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▲0.01 | 92.65 ▼19.02 | 41.96 ▼2.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_mlsn_widget
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lof-slider-news/lof-slider-news.php:30
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== lof-slider-news ===
)
lof-slider-news/lof-slider-news.php 92% from 13 tests
The main file in "Moortak Lof Slider News" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 plugin844 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 34 | 93 | 407 |
CSS | 2 | 16 | 7 | 222 |
PHP | 1 | 16 | 15 | 132 |
PO File | 2 | 19 | 26 | 83 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow-bg.png | 3.00KB | 0.35KB | ▼ 88.20% |
images/transparent_bg.png | 0.14KB | 0.09KB | ▼ 33.56% |
images/btn-slider.png | 8.66KB | 3.54KB | ▼ 59.19% |
images/bg_trans.png | 0.11KB | 0.09KB | ▼ 12.84% |