Benchmarks
Plugin footprint 82% 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.04MB] [CPU: ▼6.39ms] Passed 4 tests
This is a short check of server-side resources used by Easy Upload to Farpost
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 67.40 ▲22.78 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.61 ▼7.12 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.93 ▼2.30 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.62 ▼16.00 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.55 ▼0.12 |
Easy Farpost Upload /wp-admin/options-general.php?page=ca_wpecomm_farpost | 3.21 | 35.03 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- The plugin illegally modified 1 file (0.05KB) outside of "wp-content/plugins/easy-wp-ecommerce-to-farpost/" and "wp-content/uploads/"
- (new file) farpost.xml
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
ca_wpecomm_farpost_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Easy Upload to Farpost: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.23 ▼1.15 | 1.90 ▲0.11 | 40.15 ▼1.54 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.06 | 109.08 ▲5.84 | 41.42 ▼3.61 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.02 | 39.40 ▼1.31 | 35.46 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 23.31 ▲0.20 | 680.67 ▼14.34 | 59.26 ▲7.79 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.00 | 101.80 ▼3.04 | 43.28 ▼3.50 |
Easy Farpost Upload /wp-admin/options-general.php?page=ca_wpecomm_farpost | 860 | 2.04 | 23.13 | 29.49 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- ca_wpecomm_farpost_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=ca_wpecomm_farpost
- > Warning in wp-admin/includes/template.php+1771
call_user_func() expects parameter 1 to be a valid callback, function 'ca_wpecomm_farpost_basic' not found or invalid function name
- > GET request to /wp-admin/options-general.php?page=ca_wpecomm_farpost
- > Notice in wp-content/plugins/easy-wp-ecommerce-to-farpost/ca-wpecomm-farpost.php+54
Undefined index: make_xml
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-wp-ecommerce-to-farpost/ca-wpecomm-farpost.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function current_time() in wp-content/plugins/easy-wp-ecommerce-to-farpost/ca-wpfp-template.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_time() in wp-content/plugins/easy-wp-ecommerce-to-farpost/ca-woo-template.php:9
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: wp ecommerce, woocommerce, woo, farpost, wpecommerce
easy-wp-ecommerce-to-farpost/ca-wpecomm-farpost.php 92% from 13 tests
Analyzing the main PHP file in "Easy Upload to Farpost" version 1.2
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-wp-ecommerce-to-farpost.php" instead of "ca-wpecomm-farpost.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin276 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 29 | 276 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 11 | |
▷ Named functions | 11 | 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 images were found in this plugin