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.01MB] [CPU: ▼7.91ms] Passed 4 tests
An overview of server-side resources used by Simple Tableau Viz
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 35.82 ▼6.04 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.35 ▼2.57 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.11 ▼7.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.29 ▼15.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 43.85 ▲7.80 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Simple Tableau Viz: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.94 ▼0.28 | 13.55 ▲11.36 | 34.69 ▼4.14 |
Dashboard /wp-admin | 2,192 ▲15 | 5.63 ▼0.03 | 100.72 ▲10.34 | 43.99 ▲2.56 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.06 | 35.44 ▼7.62 | 34.78 ▲0.43 |
Add New Post /wp-admin/post-new.php | 6,194 ▲4,666 | 19.31 ▼3.84 | 920.67 ▲279.24 | 59.55 ▲10.82 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.04 | 101.93 ▼2.43 | 42.05 ▼0.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== simple-tableau-viz ===
) - Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots require images: #1 (Adding shortcode manually.), #2 (Adding viz through Editor.), #3 (An embedded tableau report.)
- Stable tag: No value
simple-tableau-viz/simple-tableau-viz.php 92% from 13 tests
The main PHP file in "Simple Tableau Viz" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 179 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
Everything looks great! No dangerous files found in this plugin140 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 12 | 10 | 95 |
PHP | 1 | 14 | 22 | 45 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/tableau-public-logo.png | 0.97KB | 0.97KB | 0.10% |