Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.30ms] Passed 4 tests
Analyzing server-side resources used by Arastoo GMap Extended
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 45.45 ▲1.85 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.64 ▼1.79 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.07 ▼1.10 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.98 ▲2.22 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.73 ▲2.64 |
Arastoo GMap /wp-admin/options-general.php?page=gmap-markers | 3.22 | 36.32 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Arastoo GMap Extended: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲39 | 13.86 ▼0.67 | 13.57 ▲11.62 | 43.68 ▲0.45 |
Dashboard /wp-admin | 2,202 ▲31 | 5.59 ▼0.08 | 88.90 ▼12.15 | 41.47 ▲2.30 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.05 | 35.57 ▼4.94 | 36.20 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.02 ▲0.06 | 612.67 ▼78.62 | 56.54 ▼6.18 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.18 ▼0.03 | 103.86 ▼7.86 | 46.39 ▼1.32 |
Arastoo GMap /wp-admin/options-general.php?page=gmap-markers | 885 | 2.13 | 21.48 | 29.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/arastoo-gmap-extended/parts/gmap-marker-style.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arastoo-gmap-extended/arastoo-gmap-extend.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/arastoo-gmap-extended/parts/gmap-marker.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: google map, gmap, markers, multiple markers
arastoo-gmap-extended/arastoo-gmap-extend.php 92% from 13 tests
The main PHP file in "Arastoo GMap Extended" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("arastoo-gmap-extended.php" instead of "arastoo-gmap-extend.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin156 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 27 | 53 | 156 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 8 | |
▷ Named functions | 8 | 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
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
arastoo-gmap-options-settings.png | 72.74KB | 29.90KB | ▼ 58.89% |
parts/default-map-logo-marker-xsmall.png | 1.64KB | 0.71KB | ▼ 57.05% |