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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.07ms] Passed 4 tests
Analyzing server-side resources used by Pixelating image slideshow gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.46 ▼1.54 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.11 ▼10.92 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.87 ▲2.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.21 ▼6.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.47 ▼1.48 |
Pixelating image slideshow /wp-admin/options-general.php?page=pixelating-image-slideshow-gallery | 3.28 | 33.95 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_pisg_superb_gallery |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
pisg_random |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
pisg_maxsquare |
theysaidso_admin_options |
pisg_type |
pisg_title |
... |
Browser metrics Passed 4 tests
Pixelating image slideshow gallery: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.09 ▼0.50 | 2.01 ▲0.43 | 43.43 ▲1.26 |
Dashboard /wp-admin | 2,193 ▲16 | 5.50 ▼0.08 | 80.23 ▼4.60 | 39.96 ▲2.06 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.05 | 34.24 ▼2.79 | 32.50 ▼9.16 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.39 ▼5.09 | 639.96 ▼19.48 | 67.38 ▲11.77 |
Media Library /wp-admin/upload.php | 1,395 ▼8 | 4.20 ▲0.00 | 99.42 ▲0.15 | 42.51 ▲0.43 |
Pixelating image slideshow /wp-admin/options-general.php?page=pixelating-image-slideshow-gallery | 1,007 | 2.03 | 28.81 | 27.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pixelating-image-slideshow-gallery/pixelating-image-slideshow-gallery.php
- > /wp-content/plugins/pixelating-image-slideshow-gallery/pages/image-management-edit.php
- > /wp-content/plugins/pixelating-image-slideshow-gallery/pages/image-management-show.php
- > /wp-content/plugins/pixelating-image-slideshow-gallery/pages/image-setting.php
- > /wp-content/plugins/pixelating-image-slideshow-gallery/pages/image-management-add.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: slideshow, pixelating, gallery, image
pixelating-image-slideshow-gallery/pixelating-image-slideshow-gallery.php Passed 13 tests
The main PHP script in "Pixelating image slideshow gallery" version 8.0 is automatically included on every request by WordPress
137 characters long description:
This is your normal hyperlinked image slideshow, but in IE the added images are "pixelated" into view. And its good cross browser script.
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
Everything looks great! No dangerous files found in this plugin1,224 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 84 | 46 | 899 |
PO File | 2 | 116 | 171 | 270 |
JavaScript | 1 | 3 | 0 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/image-icon.png | 0.61KB | 0.66KB | 0.00% |