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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.28ms] Passed 4 tests
This is a short check of server-side resources used by Gallery Slideshow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 45.82 ▲5.31 |
Dashboard /wp-admin | 3.33 ▼0.01 | 51.82 ▼13.93 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.61 ▼5.13 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 89.90 ▼7.35 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 40.95 ▲6.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Gallery Slideshow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.16 ▼1.36 | 1.61 ▼0.31 | 40.65 ▼2.67 |
Dashboard /wp-admin | 2,206 ▲21 | 4.86 ▼0.93 | 105.39 ▼1.68 | 40.86 ▼0.83 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 35.60 ▼4.44 | 32.14 ▼6.87 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.41 ▲0.03 | 649.57 ▼24.05 | 55.76 ▲1.58 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.23 ▲0.06 | 103.87 ▲4.69 | 47.16 ▲2.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require(): Failed opening required 'gss_html.php' (include_path='.:/usr/share/php') in wp-content/plugins/gallery-slideshow/assets/embed.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/gallery-slideshow/gallery-slideshow.php:13
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: gallery, slideshow
gallery-slideshow/gallery-slideshow.php Passed 13 tests
"Gallery Slideshow" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
70 characters long description:
Turn any WordPress gallery into a slideshow using the "gss" shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin562 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 23 | 240 |
JavaScript | 5 | 10 | 27 | 173 |
CSS | 1 | 30 | 1 | 149 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 3 | 100.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
There are no PNG files in this plugin