Benchmarks
Plugin footprint 64% 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.28MB] [CPU: ▼11.88ms] 75% from 4 tests
A check of server-side resources used by VCAT EDULABS Posts at Google Maps
Please fix the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 541.20ms on /wp-admin/admin.php?page=vcat-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 54.10 ▲14.57 |
Dashboard /wp-admin | 3.71 ▲0.41 | 55.35 ▲3.52 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 54.08 ▲2.87 |
Add New Post /wp-admin/post-new.php | 3.56 ▼2.33 | 39.72 ▼59.20 |
Media Library /wp-admin/upload.php | 3.63 ▲0.41 | 43.69 ▲5.29 |
Geo Map Options /wp-admin/admin.php?page=vcat_geo_settings | 3.58 | 561.16 |
VCAT EDULABS /wp-admin/admin.php?page=vcat-options | 3.58 | 541.20 |
Server storage [IO: ▲2.66MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/vcat-posts-at-google-maps/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 62 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_vcat_geo_plugin |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
vcat_db_version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for VCAT EDULABS Posts at Google Maps
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲174 | 14.50 ▲0.21 | 29.24 ▲27.33 | 42.00 ▼2.62 |
Dashboard /wp-admin | 2,241 ▲40 | 4.90 ▼0.02 | 99.99 ▼9.68 | 76.25 ▲29.88 |
Posts /wp-admin/edit.php | 2,275 ▲172 | 2.21 ▲0.21 | 34.13 ▼3.23 | 40.65 ▲5.42 |
Add New Post /wp-admin/post-new.php | 6,437 ▲4,888 | 26.48 ▲3.24 | 985.80 ▲258.81 | 45.94 ▼7.20 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.26 ▲0.10 | 115.50 ▲0.68 | 96.09 ▲46.15 |
Geo Map Options /wp-admin/admin.php?page=vcat_geo_settings | 1,329 | 2.00 | 34.06 | 34.92 |
VCAT EDULABS /wp-admin/admin.php?page=vcat-options | 888 | 1.79 | 27.34 | 29.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_vcat_geo_plugin
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- vcat_db_version
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vcat-options
- > Deprecated in wp-content/plugins/vcat-posts-at-google-maps/core/sidebar.php+13
The each() function is deprecated. This message will be suppressed on further calls
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vcat-options
- > Warning in wp-content/plugins/vcat-posts-at-google-maps/core/sidebar.php+6
file_get_contents(http://www.vcat.de/unternehmen/aktuelles.html?type=100): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/vcat-posts-at-google-maps/vcat-posts-at-google-maps.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/vcat-posts-at-google-maps/custom/meta.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/vcat-posts-at-google-maps/core/vcat-core.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/vcat-posts-at-google-maps/quickedit/meta.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=vcat_geo_settings
- > Network (severe)
wp-content/plugins/vcat-posts-at-google-maps/backend/images/ui-bg_highlight-soft_100_eeeeee_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=vcat_geo_settings
- > Network (severe)
wp-content/plugins/vcat-posts-at-google-maps/backend/images/ui-bg_glass_100_f6f6f6_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: geo-coding, edulabs, vcat, geo-location, google-maps...
vcat-posts-at-google-maps/vcat-posts-at-google-maps.php 92% from 13 tests
Analyzing the main PHP file in "VCAT EDULABS Posts at Google Maps" version 1.6.2
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 348 characters long)
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
Success! There were no dangerous files found in this plugin2,937 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 3 | 574 | 1,024 | 1,461 |
PHP | 10 | 301 | 309 | 1,176 |
JavaScript | 4 | 36 | 63 | 175 |
CSS | 5 | 28 | 7 | 125 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 63 | |
▷ Named functions | 63 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
30 PNG files occupy 1.92MB with 0.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vcat-posts-at-google-maps.png | 327.85KB | 123.62KB | ▼ 62.29% |
images/vcat-purple-dot.png | 1.95KB | 0.86KB | ▼ 55.98% |
images/vcat-orange-dot.png | 1.16KB | 0.89KB | ▼ 23.76% |
core/images/social/xing-24x24.png | 2.10KB | 1.37KB | ▼ 34.91% |
images/vcat-blue-dot.png | 1.89KB | 0.86KB | ▼ 54.60% |