Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.63ms] Passed 4 tests
Server-side resources used by TablePress Extension: Chartist
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.73 ▼9.93 |
Dashboard /wp-admin | 3.34 ▼0.00 | 54.44 ▼17.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.56 ▼1.20 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.29 ▼10.30 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.70 ▲4.86 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for TablePress Extension: Chartist
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.35 ▼1.05 | 1.94 ▼0.14 | 46.78 ▲1.25 |
Dashboard /wp-admin | 2,209 ▲24 | 4.85 ▼0.09 | 102.55 ▼19.22 | 40.71 ▼5.19 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.08 | 35.50 ▼0.64 | 33.59 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,524 ▲5 | 23.15 ▲0.09 | 681.46 ▼5.23 | 62.11 ▲7.04 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.19 ▼0.07 | 97.02 ▼8.02 | 42.35 ▼3.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/charts-for-tablepress-chartist/tablepress_chartist.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: tablepress, table, responsive, chart
charts-for-tablepress-chartist/tablepress_chartist.php 92% from 13 tests
The main PHP file in "TablePress Extension: Chartist" ver. 0.10.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("charts-for-tablepress-chartist.php" instead of "tablepress_chartist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected3,521 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 450 | 1,642 | 2,406 |
CSS | 2 | 67 | 1 | 548 |
PHP | 1 | 31 | 109 | 250 |
Sass | 2 | 53 | 29 | 247 |
Markdown | 1 | 24 | 0 | 70 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 5.83 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 19.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 | 6 | |
▷ Static methods | 6 | 100.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 1 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected