Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼144.12ms] Passed 4 tests
Analyzing server-side resources used by Google Form Binder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.12 | 38.48 ▲9.11 |
Dashboard /wp-admin | 3.07 ▲0.01 | 43.07 ▼10.29 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 47.19 ▼2.22 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 95.06 ▼562.88 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 34.70 ▼1.08 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Google Form Binder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,683 ▲87 | 15.91 ▲0.41 | 7.65 ▼2.45 | 52.33 ▲0.34 |
Dashboard /wp-admin | 2,974 ▲40 | 5.88 ▼0.23 | 148.37 ▼0.60 | 119.96 ▼6.05 |
Posts /wp-admin/edit.php | 2,743 ▲4 | 2.69 ▼0.00 | 65.64 ▼22.29 | 96.46 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,607 ▲107 | 18.87 ▲0.05 | 386.35 ▼23.15 | 106.22 ▼13.41 |
Media Library /wp-admin/upload.php | 1,811 ▲4 | 5.01 ▼0.01 | 166.69 ▲3.65 | 121.14 ▼0.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gf-binder/public/partials/gf-binding-public-display.php
- > /wp-content/plugins/gf-binder/admin/partials/gf-binding-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2 in gf-binder/assets to your readme.txt
- Plugin Name: Please specify the plugin name on the first line (
=== gf-binder ===
)
gf-binder/gf-binding.php 85% from 13 tests
The entry point to "Google Form Binder" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gf-binder.php" instead of "gf-binding.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin1,876 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 414 | 833 | 1,779 |
JavaScript | 2 | 22 | 27 | 63 |
CSS | 2 | 4 | 4 | 34 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 34.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 4 | 3.17% |
▷ Public methods | 103 | 81.75% |
▷ Protected methods | 16 | 12.70% |
▷ Private methods | 7 | 5.56% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 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