Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/ird-slider/irdslider.php+15
include(wp-content/plugins/ird-slider/includes/ird_shortcodes.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼2.46MB] [CPU: ▼349.63ms] Passed 4 tests
This is a short check of server-side resources used by Ird Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.91 ▼1.61 | 3.98 ▼46.45 |
Dashboard /wp-admin | 1.93 ▼1.48 | 3.67 ▼29.18 |
Posts /wp-admin/edit.php | 1.93 ▼1.71 | 5.11 ▼32.64 |
Add New Post /wp-admin/post-new.php | 1.93 ▼5.04 | 4.56 ▼1,290.24 |
Media Library /wp-admin/upload.php | 1.93 ▼1.37 | 3.67 ▼22.07 |
Add New /wp-admin/post-new.php?post_type=irdslider | 1.93 | 4.46 |
Ird sliders /wp-admin/edit.php?post_type=irdslider | 1.93 | 4.05 |
Ird Slider /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php | 1.93 | 4.30 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Ird Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,826 ▲72 | 15.85 ▼0.18 | 6.18 ▲0.27 | 2.28 ▼0.40 |
Dashboard /wp-admin | 2,927 ▲73 | 6.17 ▲0.04 | 118.03 ▼12.72 | 161.45 ▼4.93 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.25 ▲0.03 | 65.78 ▲1.46 | 141.74 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,737 ▲26 | 20.77 ▲0.01 | 427.69 ▼70.40 | 155.21 ▼1.22 |
Media Library /wp-admin/upload.php | 1,737 ▲39 | 5.50 ▲0.01 | 137.62 ▼10.79 | 191.13 ▲5.54 |
Add New /wp-admin/post-new.php?post_type=irdslider | 9,637 | 18.81 | 652.44 | 157.74 |
Ird sliders /wp-admin/edit.php?post_type=irdslider | 1,415 | 3.16 | 61.43 | 113.97 |
Ird Slider /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php | 1,173 | 2.39 | 55.56 | 116.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/ird-slider/irdslider.php+15
include(wp-content/plugins/ird-slider/includes/ird_shortcodes.php): failed to open stream: No such file or directory
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 15 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php
- > Warning in wp-content/plugins/ird-slider/irdslider.php+15
include(wp-content/plugins/ird-slider/includes/ird_shortcodes.php): failed to open stream: No such file or directory
- 15 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php
- > Warning in wp-content/plugins/ird-slider/irdslider.php+15
include(): Failed opening 'wp-content/plugins/ird-slider/includes/ird_shortcodes.php' for inclusion (include_path='.:/usr/share/php')
- 15 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php
- > Warning in wp-content/plugins/ird-slider/irdslider.php+16
include(wp-content/plugins/ird-slider/includes/ird_comun.php): failed to open stream: No such file or directory
- 15 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php
- > Warning in wp-content/plugins/ird-slider/irdslider.php+16
include(): Failed opening 'wp-content/plugins/ird-slider/includes/ird_comun.php' for inclusion (include_path='.:/usr/share/php')
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ird-slider/admin/ird_slider_general.php
- > /wp-content/plugins/ird-slider/irdslider.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
ird-slider/irdslider.php 92% from 13 tests
The primary PHP file in "Ird Slider" version 1.0.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ird-slider.php" instead of "irdslider.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
Good job! No executable or dangerous file extensions detected593 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 82 | 13 | 299 |
CSS | 4 | 48 | 5 | 293 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin