Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/simple-video-gallery/simple-video-gallery.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; SimpleVideoGalleryPlugin has a deprecated constructor
Server metrics [RAM: ▼1.82MB] [CPU: ▼54.80ms] Passed 4 tests
This is a short check of server-side resources used by Simple Video Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 5.87 ▼34.20 |
Dashboard /wp-admin | 2.19 ▼1.12 | 6.54 ▼45.00 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 6.08 ▼46.17 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 5.81 ▼93.81 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 6.69 ▼28.38 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_svg_playlist |
wp_svg_video |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
simplevideogallery_version |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Simple Video Gallery: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.78 ▲0.41 | 2.13 ▲0.13 | 43.81 ▲2.06 |
Dashboard /wp-admin | 2,206 ▲29 | 5.67 ▲0.08 | 95.64 ▲0.46 | 43.12 ▼2.07 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.05 ▲0.05 | 40.06 ▲2.49 | 35.67 ▼1.88 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.30 ▲5.37 | 636.46 ▼5.03 | 53.95 ▲4.30 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.24 ▲0.05 | 97.05 ▼1.33 | 44.73 ▲3.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/simple-video-gallery/simple-video-gallery.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; SimpleVideoGalleryPlugin has a deprecated constructor
- Zombie tables were found after uninstall: 2 tables
- wp_svg_video
- wp_svg_playlist
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- simplevideogallery_version
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: posts, post, video, page, admin...
simple-video-gallery/simple-video-gallery.php Passed 13 tests
The principal PHP file in "Simple Video Gallery" v. 1.0.1 is loaded by WordPress automatically on each request
42 characters long description:
Simple video gallery plugin for your blog.
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
No dangerous file extensions were detected1,733 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 201 | 58 | 1,092 |
PO File | 3 | 258 | 393 | 577 |
CSS | 2 | 4 | 0 | 22 |
JavaScript | 1 | 1 | 0 | 21 |
SQL | 1 | 4 | 0 | 21 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 60 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected