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.02MB] [CPU: ▼8.08ms] Passed 4 tests
Analyzing server-side resources used by Featured Image from Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.38 ▼9.57 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.10 ▼5.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.99 ▼3.74 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.99 ▼13.46 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.44 ▼1.40 |
Featured Image from Content /wp-admin/options-general.php?page=featured_image_from_content | 3.22 | 32.16 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Featured Image from Content
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.67 ▲0.33 | 1.84 ▲0.05 | 39.19 ▼4.18 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.09 | 97.44 ▼4.43 | 42.80 ▼4.17 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.03 | 39.91 ▲1.26 | 35.12 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.17 ▲0.44 | 682.35 ▲5.69 | 51.90 ▲1.44 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.16 ▼0.04 | 98.87 ▼6.35 | 41.55 ▼4.36 |
Featured Image from Content /wp-admin/options-general.php?page=featured_image_from_content | 802 | 2.00 | 27.91 | 27.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #1 is required in featured-image-from-content/assets to your readme.txt
featured-image-from-content/featured-image-from-content.php Passed 13 tests
The principal PHP file in "Featured Image from Content" v. 1.2 is loaded by WordPress automatically on each request
118 characters long description:
This plugin is useful for automatically setting featured images from post content if no featured images are available.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin104 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 22 | 104 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin