Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.50ms] Passed 4 tests
An overview of server-side resources used by Space gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.62 ▼8.84 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.80 ▼2.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.53 ▼2.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.99 ▼12.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 38.17 ▲4.45 |
Space gallery /wp-admin/options-general.php?page=space-gallery/space-gallery.php | 3.20 | 35.77 |
Server storage [IO: ▲0.43MB] [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: 22 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
space_dir_2 |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
space_dir_3 |
space_dir_4 |
space_dir_1 |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Space gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲193 | 13.63 ▼0.76 | 8.04 ▲6.16 | 43.24 ▼3.55 |
Dashboard /wp-admin | 2,213 ▲24 | 5.90 ▼0.04 | 102.40 ▼10.91 | 40.14 ▼5.80 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.01 | 34.03 ▼4.54 | 36.00 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.40 ▼0.73 | 700.65 ▲56.97 | 58.20 ▲3.30 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▲0.01 | 96.08 ▼1.65 | 44.03 ▲1.54 |
Space gallery /wp-admin/options-general.php?page=space-gallery/space-gallery.php | 847 | 2.04 | 23.72 | 29.71 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/space-gallery/space-gallery.php:182
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: slideshow, space, gallery, image
space-gallery/space-gallery.php 92% from 13 tests
"Space gallery" version 8.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 260 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected699 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 12 | 30 | 423 |
PHP | 2 | 23 | 15 | 165 |
PO File | 2 | 26 | 28 | 83 |
CSS | 2 | 0 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 7 | |
▷ Named functions | 7 | 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 were not PNG files found in your plugin