Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.76ms] Passed 4 tests
Server-side resources used by Framed Slideshow Gallery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.98 ▼4.19 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.06 ▼4.85 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.92 ▲3.04 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 92.18 ▼13.05 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.84 ▲3.51 |
Settings /wp-admin/edit.php?post_type=mlmalstic-slideshow&page=gallery-settings | 3.29 | 30.23 |
Add New /wp-admin/post-new.php?post_type=mlmalstic-slideshow | 3.47 | 50.70 |
All Slides /wp-admin/edit.php?post_type=mlmalstic-slideshow | 3.36 | 37.36 |
Server storage [IO: ▲3.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Framed Slideshow Gallery: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,987 ▲216 | 13.95 ▼0.43 | 5.69 ▲3.72 | 37.63 ▼5.79 |
Dashboard /wp-admin | 2,276 ▲91 | 5.19 ▼0.66 | 113.56 ▲12.49 | 43.15 ▲6.31 |
Posts /wp-admin/edit.php | 2,161 ▲72 | 2.35 ▲0.31 | 42.64 ▲0.10 | 34.82 ▼5.05 |
Add New Post /wp-admin/post-new.php | 1,574 ▲32 | 18.41 ▲0.14 | 600.70 ▼8.99 | 33.04 ▼15.13 |
Media Library /wp-admin/upload.php | 1,458 ▲67 | 4.52 ▲0.25 | 99.40 ▼0.47 | 42.21 ▼0.01 |
Settings /wp-admin/edit.php?post_type=mlmalstic-slideshow&page=gallery-settings | 1,321 | 2.82 | 54.55 | 23.90 |
Add New /wp-admin/post-new.php?post_type=mlmalstic-slideshow | 2,705 | 8.04 | 172.02 | 67.76 |
All Slides /wp-admin/edit.php?post_type=mlmalstic-slideshow | 1,173 | 2.30 | 33.58 | 27.79 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/framed-slideshow-gallery/slideshow-image-gallery.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mlmalstic-slideshow
- > Network (severe)
wp-content/plugins/mlmalstic-slideshow-gallery/bootstrap/css/bootstrap.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mlmalstic-slideshow
- > Network (severe)
wp-content/plugins/mlmalstic-slideshow-gallery/bootstrap/js/bootstrap.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mlmalstic-slideshow
- > Network (severe)
wp-content/plugins/framed-slideshow-gallery/custom-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Gallery demo 1.), #2 (Gallery demo 2.), #3 (Gallery demo 3.), #4 (Gallery demo 4.), #5 (Gallery demo 5.), #6 (Gallery demo 6.), #7 (Gallery demo 7.), #8 (Settings page.)
- Donate link: Invalid URI ("")
framed-slideshow-gallery/slideshow-image-gallery.php 92% from 13 tests
"Framed Slideshow Gallery" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("framed-slideshow-gallery.php" instead of "slideshow-image-gallery.php")
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
No dangerous file extensions were detected9,330 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 2 | 32 | 6,994 |
JavaScript | 3 | 578 | 197 | 1,565 |
PHP | 1 | 51 | 22 | 542 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 2.04MB with 1.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/pause.png | 2.87KB | 0.20KB | ▼ 92.99% |
screenshot-2.png | 280.92KB | 68.87KB | ▼ 75.48% |
screenshot-4.png | 293.76KB | 64.55KB | ▼ 78.03% |
icons/prev.png | 2.98KB | 0.26KB | ▼ 91.15% |
screenshot-5.png | 297.14KB | 62.74KB | ▼ 78.89% |