Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.48ms] Passed 4 tests
Analyzing server-side resources used by Get Custom Field Values
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 39.89 ▼4.25 |
Dashboard /wp-admin | 3.46 ▲0.15 | 52.59 ▲2.37 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.26 ▼4.11 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 82.16 ▼11.91 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.29 ▲4.15 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_get-custom |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Get Custom Field Values: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 14.48 ▲0.18 | 2.15 ▼0.08 | 44.13 ▼1.37 |
Dashboard /wp-admin | 2,209 ▲27 | 5.89 ▲0.03 | 98.20 ▼17.54 | 36.55 ▼9.09 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▼0.04 | 36.84 ▼1.05 | 32.23 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.17 ▲5.70 | 672.73 ▲51.54 | 46.99 ▼14.48 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.27 ▲0.06 | 96.71 ▼1.78 | 40.94 ▼4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_get-custom
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/get-custom-field-values/tests/phpunit/bootstrap.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: Please describe screenshot #2 in get-custom-field-values/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
get-custom-field-values/get-custom-field-values.php Passed 13 tests
The entry point to "Get Custom Field Values" version 4.1 is a PHP file that has certain tags in its header comment area
116 characters long description:
Use widgets, shortcodes, and/or template tags to easily retrieve and display custom field values for posts or pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,046 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 485 | 567 | 1,493 |
Markdown | 4 | 141 | 0 | 513 |
Bourne Shell | 1 | 6 | 2 | 21 |
XML | 1 | 0 | 0 | 14 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 5 | 3.57% |
▷ Public methods | 131 | 93.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 6.43% |
Functions | 17 | |
▷ Named functions | 9 | 52.94% |
▷ Anonymous functions | 8 | 47.06% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected