Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲0.03ms] Passed 4 tests
Analyzing server-side resources used by Brandpoint Feed Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.21 ▼6.41 |
Dashboard /wp-admin | 3.35 ▲0.05 | 42.71 ▼5.98 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.94 ▲3.42 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 98.19 ▲9.10 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 48.92 ▲14.33 |
Brandpoint Feed Importer /wp-admin/options-general.php?page=bptfeedimporter | 3.22 | 28.38 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Brandpoint Feed Importer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.42 ▼0.96 | 1.76 ▼0.21 | 37.67 ▼8.90 |
Dashboard /wp-admin | 2,217 ▲43 | 5.11 ▼0.80 | 98.33 ▼7.05 | 40.82 ▼4.37 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.26 ▲0.25 | 40.79 ▼0.52 | 37.58 ▲3.16 |
Add New Post /wp-admin/post-new.php | 1,677 ▲144 | 22.54 ▼1.00 | 603.56 ▼44.71 | 48.90 ▼13.69 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.28 ▲0.06 | 96.31 ▼3.40 | 44.04 ▲1.24 |
Brandpoint Feed Importer /wp-admin/options-general.php?page=bptfeedimporter | 928 | 1.93 | 26.43 | 25.63 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bptfeedimporter
- > Notice in wp-content/plugins/brandpoint-feed-importer/BrandpointFeedImport.php+203
Undefined variable: bptOptions
- > GET request to /wp-admin/options-general.php?page=bptfeedimporter
- > Warning in wp-content/plugins/brandpoint-feed-importer/BrandpointFeedImport.php+53
count(): Parameter must be an array or an object that implements Countable
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bptfeedimporter
- > Notice in wp-content/plugins/brandpoint-feed-importer/BrandpointFeedImport.php+203
Trying to access array offset on value of type null
- > GET request to /wp-admin/options-general.php?page=bptfeedimporter
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
- > GET request to /wp-admin/options-general.php?page=bptfeedimporter
- > Notice in wp-content/plugins/brandpoint-feed-importer/BrandpointFeedImport.php+185
date_default_timezone_set(): Timezone ID '' is invalid
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/brandpoint-feed-importer/BrandpointFeedImport.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=bptfeedimporter
- > Network (severe)
wp-content/plugins/brandpoint-feed-importer/css/bptfi_style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: A description for screenshot #0 is missing in brandpoint-feed-importer/assets to your readme.txt
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== brandpoint-feed-importer ===
) - Screenshots: Screenshot #1 (Plugin control panel) image required
brandpoint-feed-importer/BrandpointFeedImport.php 85% from 13 tests
The main PHP script in "Brandpoint Feed Importer" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("brandpoint-feed-importer.php" instead of "BrandpointFeedImport.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin372 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 44 | 369 |
JavaScript | 1 | 0 | 5 | 2 |
CSS | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected