Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/nextgen-gallery-geo/functions.php+1196
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.21MB] [CPU: ▼30.74ms] Passed 4 tests
Server-side resources used by Geo2 Maps Add-on for NextGEN Gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 52.35 ▲12.14 |
Dashboard /wp-admin | 3.74 ▲0.40 | 27.20 ▼38.59 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 29.73 ▼14.89 |
Add New Post /wp-admin/post-new.php | 3.74 ▼2.15 | 27.14 ▼66.07 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 29.30 ▼3.41 |
Geo2 Maps /wp-admin/admin.php?page=nextgen-gallery-geo/administration.php | 3.74 | 27.10 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
plugin_geo2_maps_options |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Geo2 Maps Add-on for NextGEN Gallery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,005 ▲258 | 18.69 ▲4.35 | 22.92 ▲21.12 | 41.84 ▼0.59 |
Dashboard /wp-admin | 2,234 ▲56 | 6.92 ▲1.24 | 113.76 ▲2.03 | 44.74 ▲1.17 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 4.15 ▲2.15 | 59.45 ▲22.87 | 57.40 ▲19.35 |
Add New Post /wp-admin/post-new.php | 1,718 ▲192 | 25.19 ▲1.95 | 649.10 ▼12.85 | 34.21 ▼24.31 |
Media Library /wp-admin/upload.php | 1,436 ▲39 | 6.38 ▲2.18 | 118.60 ▲19.44 | 46.21 ▲4.00 |
Geo2 Maps /wp-admin/admin.php?page=nextgen-gallery-geo/administration.php | 6,007 | 6.11 | 178.86 | 57.35 |
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
- > Warning in wp-content/plugins/nextgen-gallery-geo/administration.php+138
Use of undefined constant NGGFOLDER - assumed 'NGGFOLDER' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=nextgen-gallery-geo/administration.php
- > Warning in wp-content/plugins/nextgen-gallery-geo/administration.php+138
Use of undefined constant NGGFOLDER - assumed 'NGGFOLDER' (this will throw an Error in a future version of PHP)
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Requires php: The plugin version is formatted incorrectly
- Tags: There are too many tags (12 tag instead of maximum 10)
nextgen-gallery-geo/plugin.php 85% from 13 tests
The main PHP script in "Geo2 Maps Add-on for NextGEN Gallery" version 2.0.8 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("nextgen-gallery-geo.php" instead of "plugin.php")
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
There were no executable files found in this plugin12,087 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 454 | 1,373 | 4,906 |
JavaScript | 14 | 1,308 | 859 | 4,585 |
CSS | 8 | 268 | 124 | 1,585 |
PO File | 1 | 347 | 451 | 1,011 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 61 | |
▷ Named functions | 55 | 90.16% |
▷ Anonymous functions | 6 | 9.84% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin