Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.32ms] Passed 4 tests
A check of server-side resources used by fullstory WordPress reference integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 50.95 ▼1.89 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.43 ▼10.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.27 ▼4.74 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 117.70 ▼16.09 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 54.39 ▲7.85 |
FullStory /wp-admin/options-general.php?page=cd2-fullstory-wordpress-integration | 3.21 | 44.70 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
fullstory_org_code |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by fullstory WordPress reference integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.16 ▼0.34 | 80.37 ▲71.79 | 125.49 ▼62.42 |
Dashboard /wp-admin | 2,204 ▲6 | 5.86 ▲0.82 | 230.07 ▲61.06 | 155.59 ▼111.78 |
Posts /wp-admin/edit.php | 2,072 ▼17 | 2.05 ▼0.02 | 94.45 ▼36.57 | 137.17 ▼7.86 |
Add New Post /wp-admin/post-new.php | 1,413 ▼16 | 17.69 ▼5.32 | 1,010.51 ▲140.97 | 173.65 ▲34.77 |
Media Library /wp-admin/upload.php | 1,389 ▲10 | 4.15 ▼0.01 | 180.69 ▼18.08 | 101.33 ▼27.90 |
FullStory /wp-admin/options-general.php?page=cd2-fullstory-wordpress-integration | 765 | 2.05 | 56.87 | 653.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
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- fullstory_org_code
- can_compress_scripts
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
Even though no errors were found, 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/cd2-fullstory-integration/index.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
cd2-fullstory-integration/index.php 92% from 13 tests
This is the main PHP file of "fullstory WordPress reference integration" version 1.09, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cd2-fullstory-integration.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin129 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 7 | 96 |
JavaScript | 2 | 1 | 3 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 9 | |
▷ Named functions | 3 | 33.33% |
▷ Anonymous functions | 6 | 66.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin