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.05MB] [CPU: ▼11.44ms] Passed 4 tests
Server-side resources used by Photographers galleries
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.51 ▼5.65 |
Dashboard /wp-admin | 3.36 ▲0.02 | 49.18 ▼16.37 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 49.10 ▼3.89 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 86.65 ▼19.84 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.71 ▲6.83 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=attachment | 3.28 | 36.74 |
Galleries /wp-admin/edit-tags.php?taxonomy=gallery&post_type=attachment | 3.28 | 34.71 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=attachment | 3.28 | 38.44 |
Locations /wp-admin/edit-tags.php?taxonomy=location&post_type=attachment | 3.28 | 36.20 |
Models /wp-admin/edit-tags.php?taxonomy=model&post_type=attachment | 3.28 | 35.54 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
category_children |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Photographers galleries
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 13.19 ▼1.42 | 1.83 ▼0.14 | 42.98 ▼1.68 |
Dashboard /wp-admin | 2,226 ▲38 | 5.91 ▲1.03 | 103.41 ▼0.80 | 43.36 ▲0.47 |
Posts /wp-admin/edit.php | 2,109 ▲38 | 2.02 ▼0.05 | 33.87 ▼4.23 | 35.27 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 17.63 ▼5.68 | 642.88 ▲8.12 | 48.57 ▼4.81 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.22 ▲0.02 | 104.46 ▲4.93 | 51.29 ▲7.15 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=attachment | 1,324 | 2.13 | 31.06 | 30.30 |
Galleries /wp-admin/edit-tags.php?taxonomy=gallery&post_type=attachment | 1,279 | 2.13 | 26.76 | 27.36 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=attachment | 1,463 | 2.14 | 28.50 | 33.64 |
Locations /wp-admin/edit-tags.php?taxonomy=location&post_type=attachment | 1,279 | 2.13 | 26.62 | 29.39 |
Models /wp-admin/edit-tags.php?taxonomy=model&post_type=attachment | 1,282 | 2.13 | 25.71 | 28.52 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- category_children
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
9 plugin tags: responsive, photo, carousel, gallery, html5...
photographers-galleries/photographers-galleries.php 92% from 13 tests
The main PHP file in "Photographers galleries" ver. 1.1.8 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,091 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 111 | 155 | 448 |
CSS | 2 | 68 | 21 | 370 |
JavaScript | 2 | 74 | 60 | 272 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin