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.05MB] [CPU: ▼5.26ms] Passed 4 tests
A check of server-side resources used by Horizontal motion gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.35 ▼3.30 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.31 ▼5.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.46 ▲3.25 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.53 ▼11.05 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.49 ▼1.10 |
Motion Gallery /wp-admin/options-general.php?page=horizontal-motion-gallery | 3.24 | 31.16 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-posts |
my_hmg_dir1 |
theysaidso_admin_options |
my_hmg_dir5 |
my_hmg_dir2 |
can_compress_scripts |
db_upgraded |
my_hmg_dir3 |
widget_theysaidso_widget |
my_hmg_dir4 |
... |
Browser metrics Passed 4 tests
Horizontal motion gallery: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.40 | 4.41 ▲2.31 | 38.95 ▼4.01 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▼0.01 | 95.45 ▼9.67 | 40.68 ▼2.96 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▼0.00 | 39.69 ▼9.14 | 34.89 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,550 ▲9 | 18.45 ▲0.26 | 618.47 ▼31.50 | 49.63 ▲1.36 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.20 ▼0.06 | 95.71 ▼11.09 | 43.10 ▼1.13 |
Motion Gallery /wp-admin/options-general.php?page=horizontal-motion-gallery | 859 | 2.06 | 27.62 | 25.57 |
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
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/horizontal-motion-gallery/horizontal-motion-gallery.php:132
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: horizontal, slideshow, motion, gallery
horizontal-motion-gallery/horizontal-motion-gallery.php 92% from 13 tests
The main file in "Horizontal motion gallery" v. 9.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 182 characters long)
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
Good job! No executable or dangerous file extensions detected491 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 17 | 213 |
JavaScript | 1 | 17 | 6 | 140 |
PO File | 2 | 38 | 46 | 115 |
CSS | 1 | 5 | 2 | 22 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 10 | |
▷ Named functions | 10 | 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
No PNG images were found in this plugin