Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.37ms] Passed 4 tests
A check of server-side resources used by Mykraft Owl Slider Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.34 ▼3.66 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.20 ▼6.95 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.41 ▲2.89 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 93.55 ▼1.76 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 42.29 ▲7.94 |
Slider /wp-admin/edit.php?post_type=slides | 3.35 | 36.11 |
Add New Slide /wp-admin/post-new.php?post_type=slides | 3.36 | 57.52 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Mykraft Owl Slider Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲144 | 13.26 ▼1.15 | 2.56 ▲0.89 | 43.53 ▲1.79 |
Dashboard /wp-admin | 2,239 ▲50 | 4.90 ▼0.99 | 102.75 ▼14.47 | 81.81 ▲35.77 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.05 ▲0.03 | 37.27 ▼2.88 | 33.95 ▲1.08 |
Add New Post /wp-admin/post-new.php | 1,704 ▲171 | 24.37 ▲1.35 | 642.31 ▼14.29 | 54.46 ▲0.14 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.13 ▼0.07 | 113.84 ▲16.49 | 43.66 ▼0.98 |
Slider /wp-admin/edit.php?post_type=slides | 1,083 | 2.00 | 34.90 | 29.60 |
Add New Slide /wp-admin/post-new.php?post_type=slides | 1,721 | 3.61 | 65.28 | 85.35 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mykraft-owl-slider/mykraft-owl-slider.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: wordpress, simple, custom, slider, slideshow...
mykraft-owl-slider/mykraft-owl-slider.php 92% from 13 tests
This is the main PHP file of "Mykraft Owl Slider Plugin" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 316 characters long)
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 plugin1,857 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 210 | 17 | 1,349 |
PHP | 1 | 25 | 36 | 299 |
CSS | 2 | 19 | 27 | 209 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
owl-carousel/grabbing.png | 5.48KB | 1.93KB | ▼ 64.71% |
images/slider-icon.png | 3.31KB | 0.70KB | ▼ 78.87% |
images/slider-background.png | 5.29KB | 1.39KB | ▼ 73.77% |