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.01MB] [CPU: ▼10.80ms] Passed 4 tests
Analyzing server-side resources used by Cartograf Featured-image in Feed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.27 ▲3.33 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.52 ▼12.13 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 42.79 ▼2.47 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 78.08 ▼24.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.70 ▼3.72 |
Cartograf Featured-image in Feed Settings /wp-admin/options-general.php?page=cg_featured_image_feed | 3.22 | 30.79 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
cg_fi_backlink_active |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Cartograf Featured-image in Feed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 14.54 ▲0.19 | 1.91 ▲0.03 | 43.92 ▲3.62 |
Dashboard /wp-admin | 2,196 ▲16 | 5.63 ▼0.04 | 96.83 ▲12.02 | 42.39 ▼1.78 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.02 ▼0.01 | 33.42 ▼1.81 | 31.94 ▼5.51 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.32 ▲0.38 | 681.81 ▲32.30 | 57.09 ▲0.65 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.23 ▲0.03 | 94.73 ▼2.94 | 45.63 ▲2.74 |
Cartograf Featured-image in Feed Settings /wp-admin/options-general.php?page=cg_featured_image_feed | 812 | 2.18 | 25.67 | 22.42 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- cg_fi_backlink_active
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cartograf-featured-image-in-feed/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cartograf-featured-image-in-feed/settings.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=cg_featured_image_feed
- > Network (severe)
wp-content/plugins/cartograf-cookie-filter/logo-cartograf.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Soon to be available screenshot.) image not found
cartograf-featured-image-in-feed/cartograf-featured-image-feed.php 92% from 13 tests
The entry point to "Cartograf Featured-image in Feed" version 1.2.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("cartograf-featured-image-in-feed.php" instead of "cartograf-featured-image-feed.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected98 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 13 | 98 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 8 | |
▷ Named functions | 8 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo-cartograf.png | 20.28KB | 8.26KB | ▼ 59.28% |