Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.23MB] [CPU: ▼48.05ms] Passed 4 tests
This is a short check of server-side resources used by Photo gallery, image gallery, video gallery, file gallery plugin with cloud storage
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.72 | 13.46 ▼26.16 |
Dashboard /wp-admin | 2.78 ▼0.52 | 15.78 ▼39.45 |
Posts /wp-admin/edit.php | 2.78 ▼0.57 | 15.64 ▼35.92 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.10 | 18.16 ▼90.67 |
Media Library /wp-admin/upload.php | 2.78 ▼0.44 | 19.64 ▼23.02 |
Upload new gallery /wp-admin/admin.php?page=files-fm-gallery-new-gallery | 2.78 | 14.78 |
Files.fm Gallery /wp-admin/admin.php?page=files-fm-gallery--upload-list | 2.78 | 19.35 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Photo gallery, image gallery, video gallery, file gallery plugin with cloud storage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲232 | 13.67 ▼0.71 | 5.45 ▲3.01 | 42.21 ▲3.29 |
Dashboard /wp-admin | 2,271 ▲76 | 4.98 ▼0.00 | 101.62 ▼18.75 | 95.43 ▲49.19 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 2.01 ▼0.04 | 36.44 ▼5.08 | 33.61 ▼4.37 |
Add New Post /wp-admin/post-new.php | 1,571 ▲46 | 23.17 ▲5.77 | 815.97 ▲111.45 | 83.08 ▲2.59 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.25 ▲0.00 | 115.98 ▼2.27 | 77.34 ▲29.94 |
Upload new gallery /wp-admin/admin.php?page=files-fm-gallery-new-gallery | 1,581 | 16.39 | 556.68 | 144.47 |
Files.fm Gallery /wp-admin/admin.php?page=files-fm-gallery--upload-list | 1,575 | 12.61 | 502.30 | 54.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=files-fm-gallery--upload-list
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
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
- 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/filesfm-gallery/files-fm-gallery-module.php:26
- > 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
- > GET request to /wp-admin/admin.php?page=files-fm-gallery-new-gallery
- > Console-api (warning) in unknown
https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.en.AOzoyjtjrhQ.O/m=client/rt=j/sv=1/d=1/ed=1/rs=AHpOoo9-fA1P7IZFa1fdRj158NoDqrnbYA/cb=gapi.loaded_0?le=scs 395:208 "Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: gallery, cloud storage, photo gallery, image gallery, video gallery
filesfm-gallery/files-fm-gallery-module.php 92% from 13 tests
This is the main PHP file of "Photo gallery, image gallery, video gallery, file gallery plugin with cloud storage" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("filesfm-gallery.php" instead of "files-fm-gallery-module.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected350 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 77 | 20 | 254 |
JavaScript | 1 | 12 | 0 | 89 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/cloud.png | 0.79KB | 0.87KB | 0.00% |