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
Installer ran successfully
Server metrics [RAM: ▼0.51MB] [CPU: ▼17.82ms] Passed 4 tests
A check of server-side resources used by RSV GMaps
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 42.58 ▲3.31 |
Dashboard /wp-admin | 3.48 ▲0.17 | 47.91 ▼4.11 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 48.52 ▼4.18 |
Add New Post /wp-admin/post-new.php | 3.33 ▼2.56 | 38.08 ▼66.31 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 39.80 ▲7.07 |
Add New /wp-admin/post-new.php?post_type=rsvgmap | 3.32 | 37.56 |
RSV GMaps Options /wp-admin/edit.php?post_type=rsvgmap&page=rsv-gmaps-unique-identifier | 3.35 | 30.71 |
Rsv Gmaps /wp-admin/edit.php?post_type=rsvgmap | 3.44 | 30.17 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for RSV GMaps
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.23 ▲0.02 | 1.70 ▼0.28 | 40.94 ▲0.00 |
Dashboard /wp-admin | 2,229 ▲52 | 5.66 ▲0.06 | 87.11 ▼5.21 | 38.11 ▼5.44 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.04 ▲0.03 | 35.94 ▲0.54 | 33.72 ▼5.47 |
Add New Post /wp-admin/post-new.php | 1,571 ▲31 | 23.23 ▼0.01 | 644.66 ▲2.19 | 43.30 ▼11.41 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.26 ▼0.00 | 104.94 ▲2.02 | 45.87 ▲0.51 |
Add New /wp-admin/post-new.php?post_type=rsvgmap | 1,696 | 3.63 | 64.97 | 33.35 |
RSV GMaps Options /wp-admin/edit.php?post_type=rsvgmap&page=rsv-gmaps-unique-identifier | 887 | 2.02 | 23.50 | 36.14 |
Rsv Gmaps /wp-admin/edit.php?post_type=rsvgmap | 1,095 | 2.01 | 31.54 | 30.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=rsvgmap
- > Notice in wp-content/plugins/rsv-google-maps/rsv-gmaps.php+28
Undefined index: eventmeta_noncename
- > GET request to /wp-admin/edit.php?post_type=rsvgmap&page=rsv-gmaps-unique-identifier
- > Notice in wp-content/plugins/rsv-google-maps/rsv-gmaps.php+251
Undefined index: rsv_data_save
SRP 50% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/rsv-google-maps/rsv-gmaps.php
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: rsv gmaps, google maps, google map multiple pointers, multiple pointers, rsv maps...
rsv-google-maps/rsv-gmaps.php 92% from 13 tests
Analyzing the main PHP file in "RSV GMaps" version 1.5
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("rsv-google-maps.php" instead of "rsv-gmaps.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin656 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 251 | 450 | 656 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 2.69KB | 1.45KB | ▼ 46.17% |