Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.68ms] Passed 4 tests
Server-side resources used by Add Featured Image To Genesis CPT Archive
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.72 ▼9.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 64.28 ▲15.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.90 ▼11.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.06 ▼5.30 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.78 ▲3.24 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Add Featured Image To Genesis CPT Archive
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.24 ▼1.01 | 5.23 ▲3.05 | 41.42 ▲2.62 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.95 | 109.87 ▼6.45 | 45.43 ▼0.60 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 41.23 ▲0.08 | 34.29 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.41 ▲0.04 | 687.96 ▼0.66 | 48.74 ▼7.86 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.30 ▲0.10 | 95.62 ▼10.73 | 42.98 ▼2.18 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 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 50% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/add-featured-image-to-genesis-cpt-archive/add-featured-image-to-genesis-cpt-archive.php
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: genesis, custom post type, archive
add-featured-image-to-genesis-cpt-archive/add-featured-image-to-genesis-cpt-archive.php Passed 13 tests
The primary PHP file in "Add Featured Image To Genesis CPT Archive" version 2.0 is used by WordPress to initiate all plugin functionality
120 characters long description:
Adds an image uploader to the custom post type archive settings page in Genesis, which can be used in theme development.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected81 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 17 | 61 |
JavaScript | 1 | 9 | 12 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin