Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.61MB] [CPU: ▼192.71ms] Passed 4 tests
Analyzing server-side resources used by Photo Gallery Plus - Image Gallery Plugin for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.02 ▼0.81 | 5.48 ▼30.77 |
Dashboard /wp-admin | 2.04 ▼1.02 | 6.14 ▼32.68 |
Posts /wp-admin/edit.php | 2.04 ▼1.07 | 5.38 ▼43.42 |
Add New Post /wp-admin/post-new.php | 2.04 ▼3.39 | 5.61 ▼657.58 |
Media Library /wp-admin/upload.php | 2.04 ▼0.97 | 5.65 ▼37.15 |
/wp-admin/admin.php?page=pgp_sort_albums | 2.04 | 6.49 |
/wp-admin/admin.php?page=pgp_blog_style_layout | 2.04 | 7.81 |
/wp-admin/admin.php?page=pgp_justified_grid_layout | 2.04 | 8.75 |
/wp-admin/admin.php?page=pgp_blog_style_layout_shortcode | 2.04 | 6.51 |
/wp-admin/admin.php?page=pgp_add_album | 2.04 | 7.80 |
/wp-admin/admin.php?page=pgp_add_tag | 2.04 | 6.76 |
System Information /wp-admin/admin.php?page=pgp_system_information | 2.04 | 6.14 |
/wp-admin/admin.php?page=pgp_order_by_settings | 2.04 | 6.52 |
/wp-admin/admin.php?page=pgp_masonry_layout | 2.04 | 7.15 |
/wp-admin/admin.php?page=pgp_image_browser_layout | 2.04 | 5.72 |
Server storage [IO: ▲5.08MB] [DB: ▲0.05MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- Illegal file modification found: 80 files (3,399.48KB) outside of "wp-content/plugins/photo-gallery-plus/" and "wp-content/uploads/"
- (new file) wp-content/photo-gallery-plus/original-images/demo1-2.jpg
- (new file) wp-content/photo-gallery-plus/original-images/bg-app-3.jpg
- (new file) wp-content/photo-gallery-plus/original-images/after-2.jpg
- (new file) wp-content/photo-gallery-plus/original-images/bg-app-2.jpg
- (new file) wp-content/photo-gallery-plus/original-images/bg-app.jpg
- (new file) wp-content/photo-gallery-plus/original-images/bg-app-1.jpg
- (new file) wp-content/photo-gallery-plus/original-images/after-1.jpg
- (new file) wp-content/photo-gallery-plus/original-images/after-3.jpg
- (new file) wp-content/photo-gallery-plus/original-images/demo1-1.jpg
- (new file) wp-content/photo-gallery-plus/original-images/after.jpg
- ...
Filesystem: 187 new files
Database: 2 new tables, 2 new options
New tables |
---|
wp_photo_gallery_plus |
wp_photo_gallery_plus_meta |
New WordPress options |
---|
widget_photo_gallery_plus_widget |
photo-gallery-plus-version-number |
Browser metrics Passed 4 tests
Photo Gallery Plus - Image Gallery Plugin for WordPress: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,843 ▲247 | 16.16 ▲0.32 | 7.83 ▼0.73 | 56.50 ▲4.11 |
Dashboard /wp-admin | 3,040 ▲106 | 5.90 ▼0.09 | 141.77 ▼4.08 | 124.10 ▲8.89 |
Posts /wp-admin/edit.php | 2,834 ▲95 | 2.68 ▲0.01 | 71.01 ▲2.23 | 86.90 ▼15.55 |
Add New Post /wp-admin/post-new.php | 1,755 ▲164 | 18.14 ▼0.63 | 367.68 ▼10.01 | 115.63 ▲1.46 |
Media Library /wp-admin/upload.php | 1,831 ▲24 | 5.02 ▲0.00 | 138.03 ▼20.26 | 155.60 ▲29.63 |
/wp-admin/admin.php?page=pgp_sort_albums | 1,742 | 3.06 | 87.69 | 125.65 |
/wp-admin/admin.php?page=pgp_blog_style_layout | 1,741 | 2.70 | 67.71 | 130.64 |
/wp-admin/admin.php?page=pgp_justified_grid_layout | 1,741 | 2.70 | 66.20 | 113.98 |
/wp-admin/admin.php?page=pgp_blog_style_layout_shortcode | 1,737 | 2.70 | 66.43 | 125.06 |
/wp-admin/admin.php?page=pgp_add_album | 1,737 | 2.69 | 70.66 | 116.16 |
/wp-admin/admin.php?page=pgp_add_tag | 1,737 | 2.68 | 66.54 | 113.36 |
System Information /wp-admin/admin.php?page=pgp_system_information | 1,737 | 2.68 | 69.16 | 119.80 |
/wp-admin/admin.php?page=pgp_order_by_settings | 1,741 | 2.70 | 69.82 | 122.45 |
/wp-admin/admin.php?page=pgp_masonry_layout | 1,741 | 2.70 | 67.88 | 114.40 |
/wp-admin/admin.php?page=pgp_image_browser_layout | 1,741 | 2.69 | 65.76 | 116.76 |
Uninstaller [IO: ▲3.32MB] [DB: ▲0.05MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/photo-gallery-plus/photo-gallery-plus.php+818
Function create_function() is deprecated
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_photo_gallery_plus
- wp_photo_gallery_plus_meta
- Zombie WordPress options were found after uninstall: 2 options
- widget_photo_gallery_plus_widget
- photo-gallery-plus-version-number
Smoke tests 75% 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
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pgp_image_browser_layout
- > Deprecated in wp-content/plugins/photo-gallery-plus/photo-gallery-plus.php+818
Function create_function() is deprecated
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
photo-gallery-plus/photo-gallery-plus.php Passed 13 tests
The entry point to "Photo Gallery Plus - Image Gallery Plugin for WordPress" version 1.0.3 is a PHP file that has certain tags in its header comment area
124 characters long description:
Photo Gallery Plus is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Please fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .xap - Silverlight Application Package in Microsoft Silverlight
- ☣ wp-content/plugins/photo-gallery-plus/assets/global/plugins/pluploader/moxie.xap
- .xap - Silverlight Application Package in Microsoft Silverlight
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 65 | 653 | 1,544 | 34,361 |
JavaScript | 17 | 2,656 | 2,131 | 18,405 |
CSS | 21 | 1,242 | 556 | 15,356 |
SVG | 3 | 0 | 0 | 1,458 |
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.20 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 5 | 21.74% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 76 | |
▷ Named functions | 76 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 29 | 100.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
54 PNG files occupy 0.18MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/global/img/portlet-collapse-icon.png | 0.26KB | 0.25KB | ▼ 5.20% |
assets/admin/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
assets/global/img/portlet-config-icon.png | 0.32KB | 0.44KB | 0.00% |
assets/admin/images/image-effect/negative.png | 1.88KB | 1.65KB | ▼ 12.17% |
assets/admin/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |