Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- This plugin did not install 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
Server metrics [RAM: ▼1.96MB] [CPU: ▼55.66ms] Passed 4 tests
A check of server-side resources used by Ird Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.03 ▼40.52 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.15 ▼44.75 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.02 ▼48.28 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.78 ▼89.09 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.16 ▼34.17 |
Add New /wp-admin/post-new.php?post_type=irdslider | 2.05 | 6.79 |
Ird Slider /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php | 2.05 | 5.57 |
Ird sliders /wp-admin/edit.php?post_type=irdslider | 2.05 | 6.47 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ird Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.72 ▲0.47 | 1.66 ▼0.25 | 42.15 ▼1.43 |
Dashboard /wp-admin | 2,229 ▲49 | 5.62 ▼0.24 | 84.32 ▼1.86 | 41.65 ▼6.47 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.03 ▼0.12 | 39.75 ▼1.30 | 34.63 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,581 ▲41 | 18.43 ▼5.08 | 605.70 ▼77.04 | 60.65 ▲6.88 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.24 ▲0.09 | 101.16 ▼15.38 | 46.03 ▼4.53 |
Add New /wp-admin/post-new.php?post_type=irdslider | 6,187 | 19.14 | 863.10 | 33.49 |
Ird Slider /wp-admin/options-general.php?page=ird-slider/admin/ird_slider_general.php | 922 | 2.14 | 22.98 | 30.86 |
Ird sliders /wp-admin/edit.php?post_type=irdslider | 1,104 | 2.00 | 30.76 | 29.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or 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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=irdslider
- > POST request to /wp-admin/admin-ajax.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
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=irdslider
- > POST request to /wp-admin/admin-ajax.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')
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=irdslider
- > POST request to /wp-admin/admin-ajax.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
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=irdslider
- > POST request to /wp-admin/admin-ajax.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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /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 | This is a smoke test targeting browser errors/issues
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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
ird-slider/irdslider.php 92% from 13 tests
This is the main PHP file of "Ird Slider" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ird-slider.php" instead of "irdslider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin593 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected