Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.62ms] Passed 4 tests
A check of server-side resources used by Custom Columns
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.53 ▲0.02 |
Dashboard /wp-admin | 3.44 ▲0.14 | 44.45 ▼5.24 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 45.07 ▼6.58 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 88.02 ▼14.67 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.57 ▲3.40 |
Custom Columns /wp-admin/options-general.php?page=custom-columns | 3.33 | 32.96 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Columns
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.15 ▼1.43 | 1.69 ▼0.22 | 42.49 ▼0.83 |
Dashboard /wp-admin | 2,213 ▲22 | 5.88 ▲0.98 | 95.73 ▼26.35 | 38.38 ▼8.86 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▲0.01 | 34.32 ▼2.77 | 37.77 ▲5.47 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.26 ▲0.00 | 674.89 ▲25.75 | 53.53 ▲2.30 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.13 | 103.10 ▲4.10 | 44.31 ▼2.23 |
Custom Columns /wp-admin/options-general.php?page=custom-columns | 959 | 2.06 | 38.11 | 26.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'CustomColumnsBase' not found in wp-content/plugins/custom-columns/CustomColumnsPage.class.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/custom-columns/CustomColumns.php:34
- > PHP Fatal error
Uncaught Error: Class 'CustomColumnsBase' not found in wp-content/plugins/custom-columns/CustomColumnsManager.class.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Manage custom columns), #2 (Display custom columns)
custom-columns/CustomColumns.php 92% from 13 tests
Analyzing the main PHP file in "Custom Columns" version 1.0
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("custom-columns.php" instead of "CustomColumns.php")
Code Analysis Passed 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
No dangerous file extensions were detected1,238 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 189 | 340 | 712 |
CSS | 1 | 56 | 2 | 293 |
JavaScript | 1 | 89 | 80 | 233 |
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.27 |
Average class complexity | 16.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 6 | 17.65% |
▷ Public methods | 19 | 55.88% |
▷ Protected methods | 14 | 41.18% |
▷ Private methods | 1 | 2.94% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.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
2 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 28.04KB | 13.04KB | ▼ 53.52% |
screenshot-2.png | 48.80KB | 21.45KB | ▼ 56.04% |