Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.88MB] [CPU: ▼33.58ms] Passed 4 tests
An overview of server-side resources used by google geographic charts and maps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.02 ▲2.12 |
Dashboard /wp-admin | 3.06 ▼0.24 | 22.37 ▼30.36 |
Posts /wp-admin/edit.php | 3.06 ▼0.29 | 26.13 ▼22.32 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.83 | 32.09 ▼68.34 |
Media Library /wp-admin/upload.php | 3.06 ▼0.17 | 25.05 ▼13.28 |
Settings /wp-admin/edit.php?post_type=charty&page=charty-config-menu | 3.06 | 24.16 |
Add new /wp-admin/post-new.php?post_type=charty | 3.06 | 30.72 |
All charts /wp-admin/edit.php?post_type=charty | 3.06 | 26.21 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for google geographic charts and maps
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲96 | 14.71 ▲0.33 | 5.16 ▲3.30 | 43.87 ▲0.44 |
Dashboard /wp-admin | 2,229 ▲61 | 5.57 ▼0.07 | 88.89 ▲0.19 | 79.04 ▲35.63 |
Posts /wp-admin/edit.php | 2,134 ▲37 | 2.00 ▼0.00 | 35.52 ▼1.83 | 32.99 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,564 ▲19 | 23.10 ▼0.46 | 744.40 ▲66.62 | 59.12 ▲3.23 |
Media Library /wp-admin/upload.php | 1,434 ▲40 | 4.25 ▲0.02 | 102.31 ▲0.42 | 84.24 ▲34.66 |
Settings /wp-admin/edit.php?post_type=charty&page=charty-config-menu | 877 | 2.03 | 24.97 | 32.12 |
Add new /wp-admin/post-new.php?post_type=charty | 3,296 | 2.55 | 49.90 | 62.68 |
All charts /wp-admin/edit.php?post_type=charty | 1,110 | 1.93 | 32.01 | 32.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/charty/inc/ChartyConfigMenu.php+94
Undefined index: charty_export_csv_nonce
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=charty
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/charty/inc/ChartyConfigMenu.php+94
Undefined index: charty_export_csv_nonce
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=charty
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/charty/inc/ChartyConfigMenu.php+69
Undefined index: default_google_maps_api_key_nonce
- > GET request to /wp-admin/post-new.php?post_type=charty
- > Notice in wp-content/plugins/charty/charty.php+483
Undefined index: charty_meta_box_nonce
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: graphs, graph, chart, geocharts, geochart...
charty/charty.php 92% from 13 tests
The primary PHP file in "google geographic charts and maps" version 1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,441 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 102 | 99 | 975 |
JavaScript | 3 | 14 | 25 | 202 |
PO File | 1 | 72 | 2 | 164 |
CSS | 1 | 7 | 5 | 100 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 25 | 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 | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Charty-big.png | 7.93KB | 2.67KB | ▼ 66.38% |
assets/charty.png | 1.32KB | 1.04KB | ▼ 21.05% |