Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.23ms] Passed 4 tests
This is a short check of server-side resources used by WP Table View
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.46 ▼0.29 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.79 ▼1.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.61 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 120.25 ▲20.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.54 ▲1.95 |
Add New Table View /wp-admin/post-new.php?post_type=wptv | 3.11 | 33.93 |
All Table Views /wp-admin/edit.php?post_type=wptv | 3.30 | 41.47 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Table View
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 13.99 ▼0.36 | 11.62 ▲9.76 | 43.17 ▼4.68 |
Dashboard /wp-admin | 2,230 ▲53 | 5.63 ▼0.04 | 90.60 ▲3.04 | 38.76 ▼4.42 |
Posts /wp-admin/edit.php | 2,132 ▲35 | 2.16 ▲0.15 | 35.43 ▼1.34 | 33.20 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.37 ▲0.21 | 649.78 ▼45.44 | 53.97 ▼1.62 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.30 ▲0.10 | 103.08 ▲4.41 | 45.36 ▲1.83 |
Add New Table View /wp-admin/post-new.php?post_type=wptv | 1,880 | 2.90 | 62.20 | 47.34 |
All Table Views /wp-admin/edit.php?post_type=wptv | 1,096 | 1.99 | 35.02 | 34.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=wptv
- > User notice in wp-includes/functions.php+5905
Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.)
SRP 50% 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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-table-view/wptv-shortcode.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-table-view/wptv-shortcode.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=wptv
- > Network (severe)
wp-content/plugins/wp-table-view/css/images/ui-icons_ffffff_256x240.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=wptv
- > Network (severe)
wp-content/plugins/wp-table-view/css/images/ui-icons_444444_256x240.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: table generation, table view, table
wp-table-view/wp-table-view.php 92% from 13 tests
"WP Table View" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,947 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 41 | 52 | 1,231 |
PHP | 3 | 59 | 34 | 509 |
JavaScript | 2 | 3 | 12 | 206 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 9.67 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 22.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin