Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.86ms] Passed 4 tests
A check of server-side resources used by Minitek Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.02 ▲1.64 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.20 ▼3.01 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.79 ▼0.83 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.54 ▼20.67 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.55 ▲1.08 |
Dashboard /wp-admin/edit.php?post_type=mslider&page=minitek-slider-dashboard | 3.31 | 30.56 |
Sliders /wp-admin/edit.php?post_type=mslider | 3.31 | 34.97 |
Add New Slider /wp-admin/post-new.php?post_type=mslider | 3.44 | 43.20 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 76 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Minitek Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲186 | 13.99 ▼0.39 | 9.60 ▲7.63 | 88.71 ▲35.79 |
Dashboard /wp-admin | 2,260 ▲72 | 4.88 ▼1.01 | 134.20 ▲23.44 | 73.76 ▲31.66 |
Posts /wp-admin/edit.php | 2,151 ▲62 | 2.04 ▲0.04 | 40.19 ▼1.40 | 51.75 ▲17.58 |
Add New Post /wp-admin/post-new.php | 1,551 ▲8 | 23.39 ▲5.06 | 655.77 ▲49.76 | 49.72 ▼5.25 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.22 ▼0.00 | 95.52 ▼6.70 | 58.70 ▲11.32 |
Dashboard /wp-admin/edit.php?post_type=mslider&page=minitek-slider-dashboard | 1,065 | 2.17 | 27.84 | 51.64 |
Sliders /wp-admin/edit.php?post_type=mslider | 1,099 | 1.95 | 35.50 | 28.67 |
Add New Slider /wp-admin/post-new.php?post_type=mslider | 4,738 | 3.90 | 78.85 | 89.72 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=mslider
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/minitek-slider/admin/partials/fields/minitek-slider-admin-field-slider-themes.php
- > /wp-content/plugins/minitek-slider/public/partials/sliders/media-slider.php
- 59× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: items in wp-content/plugins/minitek-slider/public/partials/sliders/article-slider-4.php on line 10
- > PHP Notice
Undefined variable: items in wp-content/plugins/minitek-slider/public/partials/sliders/image-slider.php on line 10
- > PHP Notice
Undefined index: selections in wp-content/plugins/minitek-slider/admin/partials/fields/minitek-slider-admin-field-radio.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/minitek-slider/admin/partials/metabox/minitek-slider-admin-metabox-slider-options-detail-box.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/minitek-slider/public/partials/minitek-slider-public-items.php:10
- > PHP Notice
Undefined variable: slider_options in wp-content/plugins/minitek-slider/public/partials/minitek-slider-public-items-wrapper.php on line 17
- > PHP Notice
Undefined variable: atts in wp-content/plugins/minitek-slider/admin/partials/fields/minitek-slider-admin-field-checkbox.php on line 17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/minitek-slider/public/partials/minitek-slider-public-items-wrapper.php on line 17
- > PHP Notice
Undefined variable: items in wp-content/plugins/minitek-slider/public/partials/sliders/article-slider-5.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/minitek-slider/admin/partials/metabox/minitek-slider-admin-metabox-slider-options-responsive.php:10
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=mslider&page=minitek-slider-dashboard
- > Network (severe)
wp-content/plugins/minitek-slider/admin/js/minitek-slider-admin-update.js?ver=1.2.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== minitek-slider ===
) - Tags: There are too many tags (11 tag instead of maximum 10)
minitek-slider/minitek-slider.php Passed 13 tests
The primary PHP file in "Minitek Slider" version 1.2.0 is used by WordPress to initiate all plugin functionality
43 characters long description:
A powerful responsive slider for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin8,487 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 1,673 | 1,285 | 6,817 |
CSS | 5 | 278 | 114 | 1,146 |
JavaScript | 5 | 106 | 125 | 506 |
SVG | 1 | 0 | 0 | 11 |
Markdown | 1 | 6 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 3 | 4.92% |
▷ Public methods | 49 | 80.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 19.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo.png | 2.96KB | 0.12KB | ▼ 95.81% |