Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼7.37ms] Passed 4 tests
Server-side resources used by Appsero Helper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 40.85 ▲2.34 |
Dashboard /wp-admin | 3.62 ▲0.28 | 47.87 ▼11.15 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 44.36 ▼6.19 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 86.79 ▼12.09 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 35.77 ▼0.04 |
Appsero Helper /wp-admin/options-general.php?page=appsero_helper | 3.46 | 34.74 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Appsero Helper
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.23 ▼0.98 | 4.70 ▲3.02 | 43.33 ▲0.40 |
Dashboard /wp-admin | 2,238 ▲53 | 4.85 ▼1.05 | 103.11 ▲3.70 | 39.57 ▼10.07 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.00 ▼0.02 | 35.75 ▼7.63 | 33.65 ▼5.33 |
Add New Post /wp-admin/post-new.php | 1,570 ▲56 | 18.09 ▲0.62 | 609.36 ▼46.82 | 51.82 ▲0.03 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.26 ▼0.03 | 93.76 ▼22.55 | 41.11 ▼6.48 |
Appsero Helper /wp-admin/options-general.php?page=appsero_helper | 1,170 | 2.06 | 24.62 | 37.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\OrderHelper' not found in wp-content/plugins/appsero-helper/includes/WooCommerce/Orders.php on line 11
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\OrderHelper' not found in wp-content/plugins/appsero-helper/includes/WooCommerce/Subscriptions.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Affiliate_WP_Base' not found in wp-content/plugins/appsero-helper/includes/AffiliateWP/Paddle_Integration.php:11
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\Hooker' not found in wp-content/plugins/appsero-helper/includes/Edd/SendRequests.php on line 15
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\Hooker' not found in wp-content/plugins/appsero-helper/includes/WooCommerce/OrderHooks.php on line 7
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\Hooker' not found in wp-content/plugins/appsero-helper/includes/Api.php on line 10
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\OrderHelper' not found in wp-content/plugins/appsero-helper/includes/Edd/Orders.php on line 13
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\SettingsHelper' not found in wp-content/plugins/appsero-helper/includes/SettingsPage.php on line 6
- > PHP Fatal error
Trait 'Appsero\\Helper\\WooCommerce\\UseCases\\SendRequestsHelper' not found in wp-content/plugins/appsero-helper/includes/WooCommerce/SendRequests.php on line 10
- > PHP Fatal error
Trait 'Appsero\\Helper\\Traits\\OrderHelper' not found in wp-content/plugins/appsero-helper/includes/Edd/Subscriptions.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: release, licensing, analytics, deactivation
appsero-helper/appsero-helper.php Passed 13 tests
Analyzing the main PHP file in "Appsero Helper" version 1.2.4
51 characters long description:
Helper plugin to connect WordPress store to Appsero
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,685 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 1,288 | 1,327 | 4,095 |
CSS | 2 | 14 | 5 | 405 |
JavaScript | 4 | 29 | 0 | 167 |
XML | 1 | 1 | 1 | 18 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 12.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 6 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 1 | 2.50% |
Methods | 245 | |
▷ Static methods | 1 | 0.41% |
▷ Public methods | 129 | 52.65% |
▷ Protected methods | 10 | 4.08% |
▷ Private methods | 106 | 43.27% |
Functions | 18 | |
▷ Named functions | 16 | 88.89% |
▷ Anonymous functions | 2 | 11.11% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/appsero-icon.png | 4.28KB | 4.41KB | 0.00% |
assets/images/appsero-logo.png | 4.73KB | 4.99KB | 0.00% |