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
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲0.31ms] Passed 4 tests
Analyzing server-side resources used by Gulri Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.22 | 42.11 ▼3.08 |
Dashboard /wp-admin | 3.39 ▲0.08 | 50.38 ▼1.09 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.81 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 97.33 ▲7.36 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.48 ▲3.99 |
Server storage [IO: ▲5.99MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Gulri Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.19 ▼1.19 | 1.74 ▼0.66 | 38.45 ▼8.86 |
Dashboard /wp-admin | 2,222 ▲31 | 5.85 ▲0.00 | 111.65 ▼25.57 | 44.56 ▲2.84 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.03 ▲0.02 | 39.06 ▲1.73 | 36.68 ▲3.44 |
Add New Post /wp-admin/post-new.php | 1,527 ▼8 | 17.57 ▼5.65 | 618.02 ▼59.29 | 60.65 ▼2.75 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.29 ▲0.03 | 97.09 ▼13.91 | 46.05 ▲3.97 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/gulri-slider/inc/sliders-admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gulri-slider/inc/single-slider.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/gulri-slider/inc/functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gulri-slider/inc/slider-transitions.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: slider pulgin, video slider, image slide show, gulri slider, slideshow...
gulri-slider/index.php 92% from 13 tests
The principal PHP file in "Gulri Slider" v. 3.5.7 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gulri-slider.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected11,042 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 1 | 9,579 |
PHP | 5 | 482 | 54 | 914 |
PO File | 3 | 105 | 108 | 261 |
JavaScript | 5 | 162 | 30 | 214 |
CSS | 3 | 15 | 10 | 74 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 1.62MB with 0.99MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/features-banner.png | 1,654.84KB | 643.30KB | ▼ 61.13% |