Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.99ms] Passed 4 tests
Server-side resources used by F13 Google Maps
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.73 ▼1.30 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.04 ▲2.11 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.56 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.69 ▼10.55 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.50 ▲1.38 |
Plugins /wp-admin/admin.php?page=f13-settings | 3.29 | 457.76 |
Google Maps /wp-admin/admin.php?page=f13-google-maps | 3.20 | 33.01 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
F13 Google Maps: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲115 | 13.27 ▼1.10 | 1.91 ▲0.08 | 38.62 ▲1.72 |
Dashboard /wp-admin | 2,229 ▲40 | 4.88 ▼0.08 | 95.57 ▼26.47 | 41.07 ▼4.54 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.02 ▼0.14 | 33.97 ▼5.20 | 33.59 ▲3.82 |
Add New Post /wp-admin/post-new.php | 1,552 ▲15 | 23.26 ▲0.01 | 662.79 ▼24.15 | 58.40 ▲6.35 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.28 ▲0.08 | 101.11 ▲1.46 | 46.25 ▼1.11 |
Plugins /wp-admin/admin.php?page=f13-settings | 927 | 2.02 | 25.15 | 28.90 |
Google Maps /wp-admin/admin.php?page=f13-google-maps | 851 | 2.05 | 25.33 | 28.34 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/f13-google-maps-shortcode/google-maps-shortcode.php on line 15
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/f13-google-maps-shortcode/google-maps-shortcode.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/f13-google-maps-shortcode/google-maps-shortcode.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were 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 your attention:
- Screenshots: Add an image for screenshot #1 (The results of adding [googlemap building="Harrods" town="London"] to a blog post.)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== f13-google-maps-shortcode ===
)
f13-google-maps-shortcode/google-maps-shortcode.php 85% from 13 tests
The main file in "F13 Google Maps" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("f13-google-maps-shortcode.php" instead of "google-maps-shortcode.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected246 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 38 | 10 | 205 |
Markdown | 1 | 18 | 0 | 39 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin