Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.82ms] Passed 4 tests
This is a short check of server-side resources used by Simple Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.27 ▼7.32 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.62 ▲1.89 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 50.26 ▼1.52 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.09 ▲0.22 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.84 ▲1.33 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ht_fba_plugin_details |
widget_recent-comments |
widget_theysaidso_widget |
ht_fba_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Simple Analytics: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.35 ▼0.18 | 1.82 ▲0.17 | 43.38 ▼0.21 |
Dashboard /wp-admin | 2,214 ▲37 | 5.61 ▼0.04 | 87.24 ▼5.58 | 40.06 ▲1.22 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.01 ▼0.02 | 36.34 ▼0.24 | 35.69 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,539 ▲9 | 23.03 ▲0.10 | 698.53 ▲15.23 | 59.25 ▲2.09 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.22 ▼0.01 | 110.12 ▼2.77 | 48.62 ▲3.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- ht_fba_options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- ht_fba_plugin_details
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: analytics, facebook, fb analytics, facebook analytics
fb-analytics/fb-analytics.php Passed 13 tests
The main PHP file in "Simple Analytics" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
43 characters long description:
Add Facebook Analaytics in Web Applications
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected254 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 159 | 223 | 254 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 4.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 12 | 48.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
PNG images were not found in this plugin