Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.40ms] Passed 4 tests
Analyzing server-side resources used by Flexible Table Block
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.38 ▲7.12 |
Dashboard /wp-admin | 3.35 ▲0.00 | 58.45 ▼0.72 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.87 ▲3.57 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.33 ▼8.36 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.95 ▲3.92 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 59 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Flexible Table Block
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲48 | 14.25 ▼0.10 | 1.89 ▲0.17 | 42.64 ▲1.90 |
Dashboard /wp-admin | 2,192 ▲17 | 5.59 ▼0.13 | 96.39 ▼4.39 | 46.17 ▲5.05 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.14 ▲0.03 | 40.36 ▲5.05 | 31.10 ▼0.83 |
Add New Post /wp-admin/post-new.php | 6,379 ▲4,853 | 22.66 ▼0.52 | 857.18 ▲156.33 | 61.98 ▼4.19 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.23 ▲0.01 | 96.51 ▼6.29 | 39.83 ▼7.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Flexible_Table_Block\\add_action() in wp-content/plugins/flexible-table-block/classes/class-enqueue.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function Flexible_Table_Block\\add_action() in wp-content/plugins/flexible-table-block/classes/class-api.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: gutenberg, table, block
flexible-table-block/flexible-table-block.php Passed 13 tests
The principal PHP file in "Flexible Table Block" v. 3.1.0 is loaded by WordPress automatically on each request
44 characters long description:
Easily create flexible configuration tables.
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
There were no executable files found in this plugin9,123 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
TypeScript | 40 | 761 | 679 | 7,225 |
Sass | 4 | 167 | 6 | 772 |
JSON | 2 | 0 | 0 | 558 |
PHP | 7 | 87 | 143 | 444 |
JavaScript | 2 | 6 | 7 | 122 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 11.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 7 | 36.84% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin