Benchmarks
Plugin footprint 83% 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: ▲0.07MB] [CPU: ▼5.08ms] Passed 4 tests
An overview of server-side resources used by GMap Filter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.36 ▼5.50 |
Dashboard /wp-admin | 3.38 ▲0.03 | 47.83 ▼15.25 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.53 ▲0.49 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.11 ▲6.73 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.14 ▼0.05 |
Add New /wp-admin/post-new.php?post_type=address | 3.45 | 51.35 |
API Key /wp-admin/edit.php?post_type=address&page=wps-gmap-filter-manage | 3.27 | 39.22 |
All Address /wp-admin/edit.php?post_type=address | 3.34 | 36.78 |
Group /wp-admin/edit-tags.php?taxonomy=group&post_type=address | 3.30 | 34.69 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for GMap Filter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.21 ▼1.02 | 4.76 ▲2.57 | 42.68 ▼1.20 |
Dashboard /wp-admin | 2,240 ▲55 | 5.81 ▼0.09 | 99.76 ▼13.53 | 41.41 ▼3.39 |
Posts /wp-admin/edit.php | 2,129 ▲61 | 2.03 ▲0.03 | 40.83 ▲6.42 | 33.46 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,568 ▲54 | 18.18 ▲0.75 | 612.95 ▼67.76 | 51.86 ▼11.10 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.27 ▲0.05 | 96.19 ▼7.14 | 45.13 ▲2.38 |
Add New /wp-admin/post-new.php?post_type=address | 2,654 | 7.72 | 181.62 | 66.02 |
API Key /wp-admin/edit.php?post_type=address&page=wps-gmap-filter-manage | 844 | 1.71 | 23.63 | 27.56 |
All Address /wp-admin/edit.php?post_type=address | 1,152 | 1.95 | 30.59 | 31.02 |
Group /wp-admin/edit-tags.php?taxonomy=group&post_type=address | 1,299 | 2.27 | 26.35 | 27.48 |
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
These 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
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
3 plugin tags: filter, google, gmap
gmap-filter/gmap-filter.php 92% from 13 tests
This is the main PHP file of "GMap Filter" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected293 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 2 | 53 | 221 |
JavaScript | 2 | 0 | 4 | 72 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin