Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Parse error in wp-content/plugins/posts-in-map/pim.php+273
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.45ms] Passed 4 tests
This is a short check of server-side resources used by Posts in Map
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.19 ▼1.86 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.61 ▼5.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.44 ▼0.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.18 ▼21.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.85 ▲2.52 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Posts in Map: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.23 ▼1.17 | 2.26 ▲0.56 | 44.20 ▲1.63 |
Dashboard /wp-admin | 2,209 ▲21 | 5.90 ▲1.02 | 101.88 ▼15.51 | 40.69 ▼4.18 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.02 | 39.08 ▼1.90 | 36.22 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,522 ▲5 | 23.12 ▲5.35 | 675.99 ▲59.29 | 55.82 ▲4.36 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▼0.03 | 99.30 ▼3.70 | 41.59 ▼4.96 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/posts-in-map/pim.php on line 273
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: google maps, gmap3, gmap, googlemaps, jquery...
posts-in-map/pim.php 92% from 13 tests
"Posts in Map" version 0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("posts-in-map.php" instead of "pim.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected152 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 75 | 152 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
markers/orange-dot.png | 3.36KB | 0.76KB | ▼ 77.46% |
markers/green-dot.png | 1.19KB | 1.08KB | ▼ 9.75% |
markers/green-flag.png | 1.40KB | 1.45KB | 0.00% |
markers/yellow-dot.png | 1.31KB | 1.06KB | ▼ 18.79% |
markers/pink-dot.png | 1.32KB | 1.08KB | ▼ 18.31% |