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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.13ms] Passed 4 tests
Analyzing server-side resources used by Convert Address to Google Maps Link
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.45 ▼4.55 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.51 ▼7.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.24 ▲0.74 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.05 ▲3.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.07 ▼1.29 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Convert Address to Google Maps Link
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲164 | 13.99 ▼0.39 | 8.91 ▲7.24 | 39.63 ▼5.53 |
Dashboard /wp-admin | 2,205 ▲14 | 5.88 ▲0.96 | 107.45 ▲3.30 | 42.49 ▼2.71 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.02 ▲0.01 | 39.17 ▲2.88 | 35.02 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.55 ▼5.63 | 599.02 ▼87.86 | 51.86 ▼2.32 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.25 ▲0.09 | 95.68 ▼8.85 | 41.48 ▼6.28 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/convert-address-to-google-maps-link/convert-address-to-google-maps-link.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Using the ‘address-iframe’ class), #2 (Using the html5 ‘’ markup), #3 (Using the inline ‘.address’ class)
convert-address-to-google-maps-link/convert-address-to-google-maps-link.php Passed 13 tests
"Convert Address to Google Maps Link" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
75 characters long description:
Changes all addresses into links that open a Google Map in a new window/tab
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
Success! There were no dangerous files found in this plugin21 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 1 | 2 | 14 |
PHP | 1 | 6 | 22 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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 | 1 | |
▷ Named functions | 1 | 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
3 PNG files occupy 0.34MB with 0.24MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 194.64KB | 54.93KB | ▼ 71.78% |
screenshot-3.png | 69.61KB | 19.87KB | ▼ 71.46% |
screenshot-2.png | 80.29KB | 23.80KB | ▼ 70.35% |