Benchmarks
Plugin footprint 83% 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.09MB] [CPU: ▼14.92ms] Passed 4 tests
A check of server-side resources used by WP Posts Table
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▼0.58 | 17.67 ▼27.91 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.83 ▼7.33 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.52 ▲1.04 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.47 ▼25.48 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.82 ▲2.35 |
WP Posts Table /wp-admin/options-general.php?page=wppt-settings | 3.26 | 32.99 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Posts Table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.18 ▼1.20 | 1.58 ▼0.23 | 42.33 ▼3.40 |
Dashboard /wp-admin | 2,207 ▲22 | 5.85 ▲0.98 | 100.95 ▼2.92 | 42.74 ▲0.57 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.01 ▼0.04 | 38.34 ▲2.47 | 37.86 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.18 ▲5.69 | 658.69 ▼75.50 | 54.26 ▼3.19 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.20 ▲0.04 | 94.72 ▼14.70 | 42.11 ▼4.56 |
WP Posts Table /wp-admin/options-general.php?page=wppt-settings | 803 | 2.03 | 25.56 | 29.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Default view), #2 (Collapsible columns), #3 (Search and highlight)
wp-posts-table/wp-posts-table.php Passed 13 tests
"WP Posts Table" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
69 characters long description:
Display your posts in a table format that is searchable and sortable.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin9,575 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 6,513 |
JavaScript | 17 | 165 | 47 | 1,110 |
CSS | 11 | 157 | 203 | 857 |
Sass | 7 | 146 | 3 | 751 |
PHP | 4 | 86 | 341 | 273 |
SVG | 7 | 1 | 2 | 37 |
HTML | 3 | 0 | 0 | 34 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 34 | |
▷ Static methods | 3 | 8.82% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.65% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ 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
3 PNG files occupy 0.27MB with 0.16MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 105.68KB | 41.30KB | ▼ 60.92% |
screenshot-1.png | 97.50KB | 38.56KB | ▼ 60.45% |
screenshot-2.png | 72.65KB | 28.27KB | ▼ 61.09% |