Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.65ms] Passed 4 tests
A check of server-side resources used by GMappedLocatedPost
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.45 ▼7.30 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.56 ▼6.87 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.10 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.12 ▲1.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.51 ▲3.56 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for GMappedLocatedPost
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.62 ▲0.16 | 1.75 ▼0.09 | 40.40 ▼3.46 |
Dashboard /wp-admin | 2,222 ▲31 | 5.85 ▲0.98 | 106.83 ▼1.81 | 42.40 ▼0.98 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.01 ▲0.04 | 40.94 ▲1.61 | 35.47 ▲0.90 |
Add New Post /wp-admin/post-new.php | 6,471 ▲4,929 | 20.80 ▲2.68 | 869.65 ▲271.16 | 51.77 ▲3.48 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.21 ▲0.13 | 96.96 ▼5.58 | 43.16 ▼1.32 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gmappedlocatedpost/class/googleMappedPostSettings.class.php
- > /wp-content/plugins/gmappedlocatedpost/GoogleMappedPostWPPlugin.php
- > /wp-content/plugins/gmappedlocatedpost/class/googleMappedPostMetaBoxes.class.php
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Donate link: Invalid url: ""
gmappedlocatedpost/GoogleMappedPostWPPlugin.php 92% from 13 tests
The main file in "GMappedLocatedPost" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gmappedlocatedpost.php" instead of "GoogleMappedPostWPPlugin.php")
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
There were no executable files found in this plugin440 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 50 | 77 | 219 |
PHP | 4 | 59 | 101 | 193 |
Markdown | 1 | 18 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin