Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.33ms] Passed 4 tests
This is a short check of server-side resources used by Fathom Analytics Conversions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 41.44 ▼2.10 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.03 ▼6.45 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.79 ▲3.91 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 108.75 ▲5.96 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 33.61 ▼0.66 |
Fathom Analytics Conversions /wp-admin/options-general.php?page=fac4wp-settings | 3.32 | 34.18 |
Server storage [IO: ▲0.29MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Fathom Analytics Conversions: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲158 | 13.38 ▼0.98 | 9.50 ▲7.84 | 43.65 ▲1.18 |
Dashboard /wp-admin | 2,217 ▲36 | 5.64 ▼0.07 | 88.84 ▼20.32 | 44.91 ▲2.68 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.06 ▲0.08 | 39.74 ▼3.91 | 37.18 ▲0.73 |
Add New Post /wp-admin/post-new.php | 6,265 ▲4,730 | 26.13 ▲0.70 | 850.20 ▲190.53 | 57.12 ▼9.28 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.23 ▲0.00 | 98.16 ▲1.10 | 41.78 ▼1.48 |
Fathom Analytics Conversions /wp-admin/options-general.php?page=fac4wp-settings | 1,041 | 1.66 | 26.14 | 31.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 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 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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/fathom-analytics-conversions/admin/partials/fathom-analytics-conversions-admin-display.php
- > /wp-content/plugins/fathom-analytics-conversions/public/partials/fathom-analytics-conversions-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: conversions, analytics, fathom, events
fathom-analytics-conversions/fathom-analytics-conversions.php Passed 13 tests
The main PHP script in "Fathom Analytics Conversions" version 1.0.12 is automatically included on every request by WordPress
69 characters long description:
Easily add event conversions in WordPress plugins to Fathom Analytics
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin5,003 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,066 | 2,464 | 4,580 |
Markdown | 2 | 80 | 0 | 212 |
JavaScript | 8 | 10 | 69 | 109 |
JSON | 3 | 0 | 0 | 81 |
CSS | 2 | 5 | 8 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 23.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 227 | |
▷ Static methods | 29 | 12.78% |
▷ Public methods | 183 | 80.62% |
▷ Protected methods | 7 | 3.08% |
▷ Private methods | 37 | 16.30% |
Functions | 33 | |
▷ Named functions | 30 | 90.91% |
▷ Anonymous functions | 3 | 9.09% |
Constants | 20 | |
▷ Global constants | 20 | 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
No PNG images were found in this plugin