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.46MB] [CPU: ▲0.64ms] Passed 4 tests
Server-side resources used by RVM - Responsive Vector Maps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 44.12 ▲2.27 |
Dashboard /wp-admin | 3.76 ▲0.46 | 53.70 ▲4.93 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 54.72 ▲4.43 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 92.23 ▼5.44 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 40.81 ▲1.29 |
RVM global settings /wp-admin/options-general.php?page=rvm_options_page | 3.68 | 43.14 |
RVM Maps /wp-admin/edit.php?post_type=rvm | 3.73 | 41.92 |
Add New Map /wp-admin/post-new.php?post_type=rvm | 3.83 | 54.29 |
Server storage [IO: ▲2.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 67 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_rvm_widget |
widget_recent-comments |
rvm_options |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
RVM - Responsive Vector Maps: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 13.50 ▼0.61 | 8.67 ▲6.93 | 42.65 ▲4.86 |
Dashboard /wp-admin | 2,229 ▲49 | 5.63 ▼0.03 | 91.69 ▲6.07 | 38.70 ▼3.45 |
Posts /wp-admin/edit.php | 2,134 ▲52 | 2.03 ▲0.05 | 40.12 ▲2.64 | 37.09 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,598 ▲72 | 23.08 ▲0.11 | 672.28 ▼40.86 | 42.99 ▼11.48 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.20 ▲0.03 | 104.11 ▼25.15 | 45.03 ▼5.20 |
RVM global settings /wp-admin/options-general.php?page=rvm_options_page | 1,046 | 3.00 | 41.19 | 25.92 |
RVM Maps /wp-admin/edit.php?post_type=rvm | 1,112 | 1.94 | 30.64 | 30.59 |
Add New Map /wp-admin/post-new.php?post_type=rvm | 2,912 | 8.22 | 233.26 | 88.32 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_rvm_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- rvm_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (RVM once installed into Wordpress), #2 (**Main settings** : add padding, background and canvas colour and many more), #3 (**Subdivisions settings** : customise every single area of the map, add link, html popup label, background color and more), #4 (**Markers section** : add markers pinpoints using latitude and longitude, customise colors, size and borders), #5 (Use the Preview button to see map before going live), #6 (Use html popup label to add rich content to your markers and subdivisions), #7 (Premium maps purchasable on responsivemapsplugin.com)
responsive-vector-maps/responsive_vector_maps.php 92% from 13 tests
The principal PHP file in "RVM - Responsive Vector Maps" v. 6.6.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("responsive-vector-maps.php" instead of "responsive_vector_maps.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
Success! There were no dangerous files found in this plugin5,494 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 192 | 482 | 2,590 |
JavaScript | 7 | 105 | 92 | 1,158 |
PO File | 3 | 497 | 801 | 1,041 |
CSS | 3 | 145 | 9 | 705 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 37 | |
▷ Global constants | 37 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 1.13MB with 0.60MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/green-check4.png | 17.67KB | 5.70KB | ▼ 67.76% |
images/france-map-replacement.png | 85.44KB | 38.56KB | ▼ 54.87% |
images/belgium-map-replacement.png | 55.72KB | 25.26KB | ▼ 54.66% |
images/warning-icon.png | 4.73KB | 3.03KB | ▼ 35.94% |
images/switzerland-map-replacement.png | 73.82KB | 34.59KB | ▼ 53.14% |