Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.96ms] Passed 4 tests
This is a short check of server-side resources used by InterSlider.
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.64 ▲0.01 |
Dashboard /wp-admin | 3.36 ▲0.06 | 58.03 ▲4.27 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.26 ▼2.01 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 87.85 ▼4.51 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.77 ▲2.68 |
Settings /wp-admin/edit.php?post_type=inter_slider&page=is_settings_page | 3.23 | 28.61 |
InterSlider /wp-admin/edit.php?post_type=inter_slider | 3.33 | 38.58 |
Add new slide /wp-admin/post-new.php?post_type=inter_slider | 3.40 | 49.00 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 8 new options
New WordPress options |
---|
is_settings_option |
widget_is_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for InterSlider.
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.62 ▲0.06 | 2.12 ▲0.30 | 42.77 ▼3.87 |
Dashboard /wp-admin | 2,222 ▲45 | 5.64 ▼0.03 | 98.32 ▼5.72 | 43.94 ▲1.23 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.31 ▲0.28 | 43.18 ▲3.01 | 35.01 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.38 ▲0.34 | 680.13 ▲22.84 | 38.13 ▼16.17 |
Media Library /wp-admin/upload.php | 1,437 ▲34 | 4.26 ▲0.08 | 103.39 ▲4.31 | 45.87 ▼1.46 |
Settings /wp-admin/edit.php?post_type=inter_slider&page=is_settings_page | 1,031 | 1.97 | 42.78 | 34.14 |
InterSlider /wp-admin/edit.php?post_type=inter_slider | 1,111 | 2.16 | 33.91 | 28.90 |
Add new slide /wp-admin/post-new.php?post_type=inter_slider | 2,218 | 7.57 | 165.37 | 63.47 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- widget_recent-posts
- is_settings_option
- can_compress_scripts
- widget_is_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=inter_slider&page=is_settings_page
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/edit.php?post_type=inter_slider&page=is_settings_page
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/interslider/inter-slider-widget.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=inter_slider
- > Network (severe)
wp-content/plugins/interslider/inter-slider-admin.min.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== interslider ===
)
interslider/inter-slider.php 92% from 13 tests
This is the main PHP file of "InterSlider." version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("interslider.php" instead of "inter-slider.php")
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
Everything looks great! No dangerous files found in this plugin1,153 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 67 | 1 | 356 |
PHP | 5 | 66 | 27 | 342 |
Sass | 3 | 6 | 0 | 268 |
CSS | 2 | 0 | 0 | 187 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 7.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/play.png | 5.48KB | 1.94KB | ▼ 64.62% |
img/pause.png | 3.32KB | 0.14KB | ▼ 95.74% |
img/prev.png | 3.72KB | 1.04KB | ▼ 72.11% |