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.49MB] [CPU: ▼7.12ms] Passed 4 tests
Analyzing server-side resources used by Attributes Table
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.53 | 46.01 ▼12.09 |
Dashboard /wp-admin | 3.83 ▲0.53 | 50.29 ▼5.09 |
Posts /wp-admin/edit.php | 3.89 ▲0.52 | 52.48 ▲1.21 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 90.78 ▼12.52 |
Media Library /wp-admin/upload.php | 3.70 ▲0.46 | 50.04 ▲14.61 |
Attributes Table /wp-admin/options-general.php?page=ic_attributes | 3.66 | 37.68 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Attributes Table: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲22 | 14.34 ▲0.18 | 1.82 ▼0.31 | 39.47 ▼2.85 |
Dashboard /wp-admin | 2,199 ▲19 | 5.56 ▼0.09 | 82.36 ▼17.15 | 38.58 ▼4.69 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.98 ▲0.03 | 36.81 ▲2.72 | 33.39 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.83 ▲0.20 | 682.34 ▲53.65 | 52.41 ▲4.49 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▲0.06 | 105.64 ▲5.09 | 46.87 ▼0.02 |
Attributes Table /wp-admin/options-general.php?page=ic_attributes | 834 | 1.99 | 27.09 | 30.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== attributes-table ===
) - Screenshots: Add images for these screenshots: #1 (Attributes table on add/edit screen.), #2 (Attributes table on front-end.), #3 (Attributes table settings.)
attributes-table/attributes-table.php 92% from 13 tests
The principal PHP file in "Attributes Table" v. 1.2.13 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/lang/" does not exist
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
Good job! No executable or dangerous file extensions detected2,620 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 412 | 649 | 2,620 |
PHP code Passed 2 tests
This is a short overview 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.54 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 126 | |
▷ Named functions | 126 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/implecode.png | 11.70KB | 5.04KB | ▼ 56.91% |