Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼30.79ms] Passed 4 tests
An overview of server-side resources used by Product Feed Viewer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.21 ▼0.92 |
Dashboard /wp-admin | 3.00 ▼0.31 | 24.23 ▼22.44 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 22.74 ▼24.45 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 25.57 ▼66.90 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 24.24 ▼9.37 |
Product Feed Viewer /wp-admin/options-general.php?page=product-feed-viewer/pfv.php | 3.00 | 25.31 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
pfv_license |
widget_theysaidso_widget |
widget_recent-comments |
pfv_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
Product Feed Viewer: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.68 ▼0.70 | 4.71 ▲2.90 | 43.79 ▲3.66 |
Dashboard /wp-admin | 2,210 ▲18 | 5.83 ▲0.93 | 97.25 ▼21.41 | 38.74 ▼5.83 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.04 | 39.56 ▼2.50 | 35.18 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.15 ▼0.14 | 674.70 ▲21.20 | 52.48 ▼11.06 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.17 ▼0.05 | 94.52 ▼7.13 | 44.57 ▲0.33 |
Product Feed Viewer /wp-admin/options-general.php?page=product-feed-viewer/pfv.php | 1,137 | 2.03 | 23.21 | 35.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_recent-comments
- pfv_db_version
- can_compress_scripts
- theysaidso_admin_options
- pfv_license
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=product-feed-viewer/pfv.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/product-feed-viewer/function.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/product-feed-viewer/pfv.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: No valid plugin tags found
- Screenshots: Add an image for screenshot #1 (2.)
- Donate link: Please fix this invalid URI: ""
product-feed-viewer/pfv.php 85% from 13 tests
The main PHP file in "Product Feed Viewer" ver. 1.0.9.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 150 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("product-feed-viewer.php" instead of "pfv.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
No dangerous file extensions were detected566 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 92 | 121 | 566 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin