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 gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.02ms] Passed 4 tests
An overview of server-side resources used by Pixeladas Typeform and Hubspot source integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.38 ▼1.06 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.89 ▼15.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.46 ▼5.34 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.35 ▼14.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.04 ▲2.09 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Pixeladas Typeform and Hubspot source integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.29 ▼0.26 | 1.64 ▼0.07 | 39.96 ▼4.26 |
Dashboard /wp-admin | 2,195 ▲15 | 5.54 ▲0.03 | 82.83 ▼15.99 | 39.44 ▼4.94 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.01 | 37.25 ▲0.56 | 33.87 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.92 ▲0.33 | 663.02 ▲33.56 | 56.39 ▲1.59 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.28 ▲0.10 | 96.16 ▼4.05 | 42.64 ▼4.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== pixeladas-typeform-and-hubspot-source-integration ===
) - Screenshots: These screenshots require images: #1 (Activate integration with Hubspot in Typeform.), #2 (Enable source tracking and embedding forms.), #3 (Shortcode insertion)
pixeladas-typeform-and-hubspot-source-integration/pixeladas-typeform-hubspot.php 85% from 13 tests
Analyzing the main PHP file in "Pixeladas Typeform and Hubspot source integration" version 1.3
Please take the time to fix the following:
- 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
- Main file name: Name the main plugin file the same as the plugin slug ("pixeladas-typeform-and-hubspot-source-integration.php" instead of "pixeladas-typeform-hubspot.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
There were no executable files found in this plugin92 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 10 | 14 | 35 |
Markdown | 1 | 16 | 0 | 29 |
JavaScript | 1 | 1 | 0 | 24 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/03.png | 8.39KB | 2.98KB | ▼ 64.50% |
assets/01.png | 19.89KB | 6.46KB | ▼ 67.54% |
assets/02.png | 58.23KB | 19.64KB | ▼ 66.28% |