Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.74ms] Passed 4 tests
This is a short check of server-side resources used by Jeba Divas Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.98 ▼7.32 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.78 ▼6.27 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.36 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.10 ▼18.93 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 43.03 ▲8.90 |
Add New /wp-admin/post-new.php?post_type=jeba-eitems | 3.38 | 50.68 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=jeba-eitems | 3.24 | 37.73 |
JebaSliders /wp-admin/edit.php?post_type=jeba-eitems | 3.30 | 34.91 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jeba-eitems | 3.24 | 31.88 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
category_children |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Jeba Divas Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 14.06 ▼0.62 | 6.49 ▲4.62 | 39.76 ▼4.92 |
Dashboard /wp-admin | 2,247 ▲59 | 6.03 ▲0.20 | 107.29 ▼10.48 | 36.98 ▼8.24 |
Posts /wp-admin/edit.php | 2,133 ▲41 | 2.02 ▲0.00 | 39.28 ▼0.76 | 35.87 ▲1.71 |
Add New Post /wp-admin/post-new.php | 1,712 ▲198 | 24.80 ▲7.29 | 604.19 ▼59.08 | 67.56 ▲10.01 |
Media Library /wp-admin/upload.php | 1,429 ▲47 | 4.22 ▲0.05 | 98.20 ▲2.29 | 44.61 ▲1.84 |
Add New /wp-admin/post-new.php?post_type=jeba-eitems | 2,383 | 7.87 | 178.47 | 69.19 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=jeba-eitems | 1,481 | 2.19 | 28.54 | 32.06 |
JebaSliders /wp-admin/edit.php?post_type=jeba-eitems | 1,146 | 1.96 | 32.03 | 31.13 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jeba-eitems | 1,348 | 2.18 | 30.70 | 30.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- category_children
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 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/jeba-divas-slider/jeba-index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (How to use shortcode in editor.), #2 (Another demo.)
- Contributors: The plugin contributors field is missing
jeba-divas-slider/jeba-index.php 85% from 13 tests
The main file in "Jeba Divas Slider" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("jeba-divas-slider.php" instead of "jeba-index.php")
- Description: The description should be shorter than 140 characters (currently 355 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected446 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 57 | 56 | 332 |
PHP | 1 | 20 | 8 | 84 |
SVG | 5 | 0 | 4 | 29 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/images/prev.png | 0.29KB | 0.20KB | ▼ 29.83% |
js/images/next.png | 0.29KB | 0.21KB | ▼ 27.57% |
js/images/backup_img.png | 2.97KB | 2.78KB | ▼ 6.60% |
js/images/DivasSliderLogo.png | 8.69KB | 6.37KB | ▼ 26.73% |