Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.24MB] [CPU: ▲3.73ms] Passed 4 tests
This is a short check of server-side resources used by TableOn - WordPress Posts Table Filterable
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.66 ▲1.20 | 42.58 ▲1.56 |
Dashboard /wp-admin | 4.55 ▲1.24 | 54.00 ▲8.63 |
Posts /wp-admin/edit.php | 4.66 ▲1.30 | 58.50 ▲11.56 |
Add New Post /wp-admin/post-new.php | 7.15 ▲1.26 | 94.04 ▼6.84 |
Media Library /wp-admin/upload.php | 4.47 ▲1.24 | 45.49 ▲12.06 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 100 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_tableon_tables_meta |
wp_tableon_tables_columns |
wp_tableon_tables |
wp_tableon_vocabulary |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
tableon_db_ver |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by TableOn - WordPress Posts Table Filterable
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.72 ▼0.69 | 1.60 ▼0.27 | 37.60 ▼7.93 |
Dashboard /wp-admin | 2,229 ▲47 | 5.08 ▲0.20 | 104.37 ▲1.39 | 37.08 ▼4.05 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.05 ▲0.01 | 41.52 ▲3.56 | 36.68 ▲3.70 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 23.15 ▲5.49 | 646.06 ▼20.56 | 64.51 ▼1.88 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.23 ▲0.01 | 97.62 ▼4.33 | 40.17 ▼3.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_tableon_tables_columns
- wp_tableon_vocabulary
- wp_tableon_tables
- wp_tableon_tables_meta
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- tableon_db_ver
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/posts-table-filterable/views/popup.php
- > /wp-content/plugins/posts-table-filterable/views/options.php
- > /wp-content/plugins/posts-table-filterable/lib/storage.php
- > /wp-content/plugins/posts-table-filterable/views/table.php
- > /wp-content/plugins/posts-table-filterable/install.php
- > /wp-content/plugins/posts-table-filterable/views/set.php
- > /wp-content/plugins/posts-table-filterable/views/gallery.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/posts-table-filterable/views/blank-template.php:10
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: filter, posts filter, tableon, table, posts table
posts-table-filterable/index.php 77% from 13 tests
The main PHP script in "TableOn - WordPress Posts Table Filterable " version 1.0.2 is automatically included on every request by WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 211 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("posts-table-filterable.php" instead of "index.php")
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "WP 4.9")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected16,176 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 1,607 | 1,752 | 6,321 |
CSS | 27 | 940 | 105 | 4,638 |
JavaScript | 26 | 1,310 | 413 | 4,448 |
PO File | 1 | 318 | 332 | 742 |
SVG | 1 | 15 | 0 | 27 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 43.55 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 250.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 1 | 5.00% |
▷ Concrete classes | 19 | 95.00% |
▷ Final classes | 5 | 26.32% |
Methods | 190 | |
▷ Static methods | 22 | 11.58% |
▷ Public methods | 169 | 88.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 11.05% |
Functions | 108 | |
▷ Named functions | 3 | 2.78% |
▷ Anonymous functions | 105 | 97.22% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/banners/woot-banner.png | 113.64KB | 40.54KB | ▼ 64.32% |
assets/img/download.png | 1.18KB | 0.59KB | ▼ 49.71% |
assets/img/move.png | 1.70KB | 1.67KB | ▼ 2.01% |
assets/img/banners/wpbe-banner.png | 26.11KB | 27.38KB | 0.00% |