Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.57MB] [CPU: ▼1.41ms] Passed 4 tests
An overview of server-side resources used by WordPress Admin Tables Extra Columns : Easy way to create custom columns on WordPress post, page & user admin tables
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 41.29 ▼6.20 |
Dashboard /wp-admin | 3.88 ▲0.58 | 53.14 ▲4.92 |
Posts /wp-admin/edit.php | 3.94 ▲0.59 | 53.92 ▲1.99 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 100.50 ▼6.36 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 44.53 ▲11.74 |
Tables Extra Columns /wp-admin/options-general.php?page=wptec | 3.99 | 40.61 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 3.97 | 40.47 |
Server storage [IO: ▲3.74MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 197 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
fs_active_plugins |
fs_accounts |
db_upgraded |
fs_gdpr |
fs_debug_mode |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Admin Tables Extra Columns : Easy way to create custom columns on WordPress post, page & user admin tables
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲198 | 13.58 ▼0.71 | 4.72 ▲2.45 | 30.43 ▼12.79 |
Dashboard /wp-admin | 2,231 ▲40 | 5.86 ▲0.96 | 106.77 ▲1.50 | 44.33 ▲3.52 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.05 ▲0.01 | 42.22 ▲1.74 | 39.36 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 23.16 ▼0.08 | 647.88 ▲33.69 | 52.20 ▲0.18 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.24 ▲0.00 | 108.26 ▲10.85 | 48.04 ▲3.85 |
Tables Extra Columns /wp-admin/options-general.php?page=wptec | 1,012 | 2.01 | 31.84 | 51.90 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 1,073 | 1.73 | 24.66 | 26.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/wptec/includes/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 10 options in the database
- can_compress_scripts
- fs_active_plugins
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- fs_debug_mode
- fs_accounts
- widget_theysaidso_widget
- fs_gdpr
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wptec/includes/class-wptec-deactivator.php
- > /wp-content/plugins/wptec/public/partials/wptec-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/wptec/admin/partials/wptec-admin-display.php:19
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: columns, column, admin, admin_table, custom columns
wptec/wptec.php 92% from 13 tests
The principal PHP file in "WordPress Admin Tables Extra Columns : Easy way to create custom columns on WordPress post, page & user admin tables" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 96 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin43,672 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 125 | 7,882 | 18,628 | 34,711 |
JavaScript | 10 | 1,120 | 1,542 | 8,947 |
CSS | 13 | 0 | 8 | 14 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 82.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 5.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 0 | 0.00% |
Methods | 1,235 | |
▷ Static methods | 174 | 14.09% |
▷ Public methods | 890 | 72.06% |
▷ Protected methods | 15 | 1.21% |
▷ Private methods | 330 | 26.72% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 124 | |
▷ Global constants | 99 | 79.84% |
▷ Class constants | 25 | 20.16% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/freemius/assets/img/wptec.png | 9.16KB | 5.26KB | ▼ 42.58% |