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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼9.95ms] Passed 4 tests
This is a short check of server-side resources used by Tabular - Create Stunning HTML Tables
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 48.93 ▲6.50 |
Dashboard /wp-admin | 3.31 ▲0.01 | 27.78 ▼23.13 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 48.66 ▼2.00 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 89.54 ▼9.05 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 28.99 ▼5.62 |
Help & Info /wp-admin/edit.php?post_type=wpgo_tabular&page=wpgo-tabular-about-page | 3.29 | 30.12 |
All Tables /wp-admin/edit.php?post_type=wpgo_tabular | 3.36 | 28.18 |
Add New Table /wp-admin/post-new.php?post_type=wpgo_tabular | 3.43 | 39.93 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Tabular - Create Stunning HTML Tables
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲79 | 13.52 ▼0.79 | 1.95 ▼0.07 | 42.22 ▼1.96 |
Dashboard /wp-admin | 2,239 ▲62 | 4.88 ▼1.00 | 109.39 ▲7.56 | 42.33 ▲0.13 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.00 ▼0.01 | 38.79 ▼2.31 | 34.91 ▲0.98 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 17.59 ▼0.02 | 655.54 ▼15.76 | 52.15 ▼5.96 |
Media Library /wp-admin/upload.php | 1,421 ▲30 | 4.26 ▼0.02 | 99.36 ▲0.40 | 41.40 ▼2.47 |
Help & Info /wp-admin/edit.php?post_type=wpgo_tabular&page=wpgo-tabular-about-page | 921 | 2.02 | 23.34 | 53.86 |
All Tables /wp-admin/edit.php?post_type=wpgo_tabular | 1,125 | 1.94 | 29.98 | 31.31 |
Add New Table /wp-admin/post-new.php?post_type=wpgo_tabular | 2,141 | 3.02 | 61.96 | 100.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wpgo_tabular
- > Notice in wp-content/plugins/tabular-lite/classes/tabular-enqueue-scripts.php+56
Trying to get property 'ID' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wpgo_tabular
- > Notice in wp-content/plugins/tabular-lite/classes/tabular-enqueue-scripts.php+65
Trying to get property 'post_type' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wpgo_tabular
- > Notice in wp-content/plugins/tabular-lite/classes/tabular-builder.php+47
Undefined index:
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpgo_tabular
- > Notice in wp-content/plugins/tabular-lite/classes/tabular-builder.php+50
Trying to access array offset on value of type null
- > GET request to /wp-admin/post-new.php?post_type=wpgo_tabular
- > Warning in wp-content/plugins/tabular-lite/classes/tabular-builder.php+51
count(): Parameter must be an array or an object that implements Countable
- 12 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpgo_tabular
- > Warning in wp-content/plugins/tabular-lite/classes/tabular-cpt.php+380
Use of undefined constant uri - assumed 'uri' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpgo_tabular
- > Notice in wp-content/plugins/tabular-lite/classes/tabular-cpt.php+427
Undefined variable: w
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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabular-lite/classes/tabular-builder.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/tabular-lite/tabular-lite.php:109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 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
5 plugin tags: html, table, templates, styles, semantic
tabular-lite/tabular-lite.php Passed 13 tests
The main file in "Tabular - Create Stunning HTML Tables" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
93 characters long description:
Add responsive tables and graphs in WordPress using the advanced D3.js visualization library.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,853 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 297 | 595 | 899 |
JavaScript | 8 | 185 | 224 | 521 |
CSS | 6 | 92 | 126 | 347 |
Markdown | 1 | 25 | 0 | 86 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 7.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 3 | 5.36% |
▷ Public methods | 56 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/alpha-color-picker/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |