Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼7.24ms] Passed 4 tests
This is a short check of server-side resources used by Table Maker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 34.59 ▼7.94 |
Dashboard /wp-admin | 3.49 ▲0.18 | 43.01 ▼7.21 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 44.58 ▼4.01 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 84.47 ▼9.81 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 40.23 ▲3.98 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
wpsm_db_table_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Table Maker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲82 | 13.29 ▼0.96 | 1.68 ▼0.14 | 39.71 ▼9.22 |
Dashboard /wp-admin | 2,224 ▲42 | 5.99 ▲0.14 | 100.08 ▼1.57 | 78.78 ▲36.66 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.02 ▲0.01 | 33.73 ▼2.20 | 34.41 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,680 ▲147 | 22.62 ▼0.46 | 741.45 ▲62.14 | 55.35 ▼0.48 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.13 ▼0.06 | 96.68 ▼6.58 | 79.55 ▲36.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WPSM_Table_Maker::rollback() should not be called statically
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- wpsm_db_table_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
9 plugin tags: pricing tables, table generator, pricing table maker, comparison tables, top list table...
table-maker/table-maker.php 92% from 13 tests
"Table Maker" version 1.9.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected1,392 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 102 | 27 | 766 |
JavaScript | 3 | 72 | 48 | 426 |
PO File | 1 | 82 | 84 | 180 |
SVG | 1 | 0 | 0 | 18 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 36.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 1 | 2.27% |
▷ Public methods | 37 | 84.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 15.91% |
Functions | 4 | |
▷ Named functions | 4 | 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
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/editor_hor_badge.png | 2.59KB | 2.66KB | 0.00% |
img/cross.png | 0.18KB | 0.21KB | 0.00% |
img/editor_badge.png | 1.48KB | 1.52KB | 0.00% |
img/icon.png | 0.30KB | 0.46KB | 0.00% |