Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.24ms] Passed 4 tests
A check of server-side resources used by Integration of Firebase Analytics and WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.07 | 39.69 ▼4.96 |
Dashboard /wp-admin | 3.41 ▲0.06 | 49.08 ▼5.79 |
Posts /wp-admin/edit.php | 3.52 ▲0.12 | 51.99 ▲0.89 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.06 | 95.92 ▲3.97 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 38.16 ▲0.90 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
wc_analytics_settings |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Integration of Firebase Analytics and WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲62 | 14.36 ▲0.07 | 1.94 ▲0.06 | 38.93 ▼0.16 |
Dashboard /wp-admin | 2,229 ▲49 | 5.67 ▲0.05 | 87.70 ▼9.32 | 64.28 ▲24.99 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.12 ▲0.14 | 38.19 ▲2.40 | 39.00 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,627 ▲101 | 22.68 ▼0.47 | 659.46 ▲1.74 | 192.41 ▲130.76 |
Media Library /wp-admin/upload.php | 1,431 ▲37 | 4.15 ▼0.04 | 100.37 ▼0.51 | 62.97 ▲17.66 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: firebase analytics, appmakerxyz, firebase, woocommerce, appmaker
wc-firebase-analytics/firebase-analytics-for-woocommerce.php 85% from 13 tests
The main PHP script in "Integration of Firebase Analytics and WooCommerce" version 0.2.8 is automatically included on every request by WordPress
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.4" instead of "2.6.0")
- Main file name: Name the main plugin file the same as the plugin slug ("wc-firebase-analytics.php" instead of "firebase-analytics-for-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin439 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 39 | 33 | 316 |
JavaScript | 7 | 33 | 22 | 123 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
No PNG files were detected