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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.14ms] Passed 4 tests
An overview of server-side resources used by Facilita Form Tracker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.15 ▼1.20 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.24 ▼4.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.45 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.65 ▼10.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.21 ▼0.49 |
Facilita Form Tracker /wp-admin/options-general.php?page=facilita-tracker-forms-options | 3.21 | 30.50 |
Server storage [IO: ▲0.01MB] [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: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Facilita Form Tracker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲193 | 13.97 ▼0.67 | 5.51 ▲3.79 | 41.50 ▼6.41 |
Dashboard /wp-admin | 2,210 ▲22 | 5.82 ▼0.05 | 95.07 ▼12.65 | 40.57 ▼3.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.06 | 36.37 ▲0.63 | 33.36 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.26 ▲0.04 | 611.23 ▼60.52 | 55.87 ▼12.89 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.18 ▼0.03 | 98.01 ▼3.31 | 43.69 ▼0.87 |
Facilita Form Tracker /wp-admin/options-general.php?page=facilita-tracker-forms-options | 786 | 2.06 | 23.88 | 24.15 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/facilita-form-tracker/src/page.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function FACFT\\add_action() in wp-content/plugins/facilita-form-tracker/src/FACFT/facilitaFormtrackerSystem.php:9
- > PHP Notice
Undefined variable: custom_field in wp-content/plugins/facilita-form-tracker/src/page.php on line 14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: facilita form tracker, facilita, crm, facilita tracker, facilita form...
facilita-form-tracker/facilita_tracker.php 92% from 13 tests
"Facilita Form Tracker" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("facilita-form-tracker.php" instead of "facilita_tracker.php")
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
There were no executable files found in this plugin75 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 12 | 16 | 75 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin