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.34MB] [CPU: ▼3.01ms] Passed 4 tests
A check of server-side resources used by BitForm - Data management solution for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 37.15 ▼4.41 |
Dashboard /wp-admin | 3.66 ▲0.35 | 47.88 ▼2.01 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 46.23 ▲0.29 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.37 | 85.52 ▼5.92 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 42.00 ▲8.90 |
Server storage [IO: ▲0.07MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 29 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_bitform_entry_data |
wp_bitform_forms |
wp_bitform_entry_note |
wp_bitform_form_meta |
wp_bitform_entries |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_bitform-widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for BitForm - Data management solution for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.25 ▼1.01 | 1.65 ▼0.17 | 42.05 ▼4.08 |
Dashboard /wp-admin | 2,214 ▲23 | 5.85 ▼0.01 | 99.41 ▼5.57 | 88.13 ▲48.66 |
Posts /wp-admin/edit.php | 2,103 ▲17 | 2.02 ▲0.01 | 33.76 ▼3.45 | 30.91 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,524 ▼4 | 17.48 ▼0.73 | 719.25 ▲87.28 | 62.38 ▲6.36 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.25 ▲0.03 | 96.07 ▼2.61 | 74.18 ▲32.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_bitform-widget
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Response' not found in wp-content/plugins/bitform/Common/JsonResponse.php:5
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Repository\\AbstractRepository' not found in wp-content/plugins/bitform/Repository/EntryDataRepository.php:7
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Repository\\AbstractRepository' not found in wp-content/plugins/bitform/Repository/FormRepository.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bitform/Common/Widget.php:8
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Controller\\AbstractController' not found in wp-content/plugins/bitform/Controller/PublicController.php:10
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Controller\\AbstractController' not found in wp-content/plugins/bitform/Controller/EntryController.php:8
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Repository\\AbstractRepository' not found in wp-content/plugins/bitform/Repository/FormMetaRepository.php:7
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Repository\\AbstractRepository' not found in wp-content/plugins/bitform/Repository/EntryNoteRepository.php:7
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Repository\\AbstractRepository' not found in wp-content/plugins/bitform/Repository/EntryRepository.php:8
- > PHP Fatal error
Uncaught Error: Class 'BitForm\\Controller\\AbstractController' not found in wp-content/plugins/bitform/Controller/FormController.php:9
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: form, table, data management
bitform/index.php 85% from 13 tests
The principal PHP file in "BitForm - Data management solution for WordPress" v. 1.1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Make the plugin description longer than 10 characters (currently 7 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bitform.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,871 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 266 | 26 | 1,871 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 2 | 8.00% |
▷ Concrete classes | 23 | 92.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 34 | 22.82% |
▷ Public methods | 122 | 81.88% |
▷ Protected methods | 18 | 12.08% |
▷ Private methods | 9 | 6.04% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 22 | |
▷ Global constants | 2 | 9.09% |
▷ Class constants | 20 | 90.91% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 3.47KB | 0.71KB | ▼ 79.52% |