Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.33ms] Passed 4 tests
An overview of server-side resources used by Mediacore Ingest (FeedWordPress AddOn)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.23 ▼3.25 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.61 ▼5.62 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.93 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.55 ▼2.90 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.74 ▲2.89 |
Mediacore Ingest /wp-admin/options-general.php?page=fwp_mediacore_ingest | 3.23 | 28.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Mediacore Ingest (FeedWordPress AddOn): an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼1.19 | 1.62 ▼0.16 | 42.88 ▲1.93 |
Dashboard /wp-admin | 2,213 ▲25 | 4.83 ▼0.07 | 101.56 ▼4.22 | 37.97 ▼6.93 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.03 | 38.41 ▲5.21 | 34.50 ▲1.09 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.45 ▲5.87 | 659.14 ▼67.71 | 58.87 ▲3.43 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.07 | 97.40 ▲3.73 | 43.38 ▼1.29 |
Mediacore Ingest /wp-admin/options-general.php?page=fwp_mediacore_ingest | 699 | 1.53 | 6.61 | 20.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=fwp_mediacore_ingest
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/mediacore-ingest-fwp-addon/templates/settings.php on line 12 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/mediacore-ingest-fwp-addon/templates/settings.php(12): do_settings_fields()
#1 wp-content/plugins/mediacore-ingest-fwp-addon/settings.php(111): include('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): fwp_mediacore_ingest_settings->fwp_mediacore_ingest_settings_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#7 {main}
thrown
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/mediacore-ingest-fwp-addon/templates/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/mediacore-ingest-fwp-addon/mediacore-ingest.php:51
- > PHP Fatal error
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 93% 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
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== mediacore-ingest-fwp-addon ===
)
mediacore-ingest-fwp-addon/mediacore-ingest.php 92% from 13 tests
The main file in "Mediacore Ingest (FeedWordPress AddOn)" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("mediacore-ingest-fwp-addon.php" instead of "mediacore-ingest.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin179 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 43 | 35 | 179 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 11 | |
▷ Static methods | 2 | 18.18% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin