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
Install script ran successfully
Server metrics [RAM: ▼0.63MB] [CPU: ▼19.26ms] Passed 4 tests
A check of server-side resources used by Orbit_Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.10 ▲2.30 |
Dashboard /wp-admin | 3.36 ▲0.05 | 43.86 ▼6.68 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.94 ▼3.50 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.70 | 34.57 ▼59.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.65 ▼6.94 |
Add New /wp-admin/post-new.php?post_type=orbitjs_slider | 3.14 | 33.95 |
Orbit sliders /wp-admin/edit.php?post_type=orbitjs_slider | 3.32 | 39.08 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Orbit_Gallery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲196 | 13.70 ▼0.68 | 7.89 ▲5.98 | 40.09 ▼1.06 |
Dashboard /wp-admin | 2,249 ▲61 | 4.87 ▼0.03 | 109.79 ▲0.25 | 37.68 ▼6.29 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.05 ▲0.05 | 40.05 ▲2.37 | 35.96 ▲4.79 |
Add New Post /wp-admin/post-new.php | 1,578 ▲43 | 18.17 ▼4.91 | 629.42 ▼47.62 | 50.28 ▼2.18 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.23 ▲0.04 | 98.52 ▼16.57 | 42.61 ▼2.83 |
Add New /wp-admin/post-new.php?post_type=orbitjs_slider | 2,362 | 7.59 | 185.10 | 65.26 |
Orbit sliders /wp-admin/edit.php?post_type=orbitjs_slider | 1,104 | 1.93 | 30.90 | 28.02 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+227
Undefined index: orbit_slider_box_nonce
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+163
Undefined offset: 0
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+167
Undefined offset: 1
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+171
Undefined offset: 2
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+175
Undefined offset: 3
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+179
Undefined offset: 4
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+183
Undefined offset: 5
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+188
Undefined offset: 6
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+193
Undefined offset: 7
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+198
Undefined offset: 8
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+203
Undefined offset: 9
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+208
Undefined offset: 10
- > GET request to /wp-admin/post-new.php?post_type=orbitjs_slider
- > Notice in wp-content/plugins/orbit-slider-gallery/orbit_slider.php+213
Undefined offset: 11
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/orbit-slider-gallery/include/options_page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/orbit-slider-gallery/orbit_slider.php:14
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: foundation, slider, orbit, responsive slider
orbit-slider-gallery/orbit_slider.php 92% from 13 tests
The main PHP script in "Orbit_Gallery" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("orbit-slider-gallery.php" instead of "orbit_slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin10,571 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 1,258 | 477 | 5,821 |
CSS | 4 | 447 | 237 | 4,458 |
PHP | 2 | 113 | 17 | 278 |
Markdown | 1 | 5 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 13 | |
▷ Named functions | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin