Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.02ms] Passed 4 tests
This is a short check of server-side resources used by Integration for Szamlazz.hu & Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.78 ▼1.55 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.22 ▼4.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.81 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.06 ▼8.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.77 ▼5.28 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Integration for Szamlazz.hu & Gravity Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.40 ▲0.05 | 1.68 ▲0.01 | 36.76 ▼4.97 |
Dashboard /wp-admin | 2,189 ▲12 | 5.61 ▼0.01 | 90.43 ▲3.59 | 41.83 ▲2.28 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.03 ▲0.04 | 33.98 ▼6.60 | 38.84 ▲4.95 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.47 ▲0.20 | 681.20 ▼8.87 | 68.30 ▼0.93 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▲0.03 | 95.93 ▼26.83 | 43.94 ▼10.51 |
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
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/integration-for-szamlazz-hu-gravity-forms/class-gf-szamlazz.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
5 plugin tags: szamlazz, magyar, szamlazo, gravity forms, szamlazzhu
integration-for-szamlazz-hu-gravity-forms/index.php 77% from 13 tests
The primary PHP file in "Integration for Szamlazz.hu & Gravity Forms" version 1.2.8 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integration-for-szamlazz-hu-gravity-forms.php" instead of "index.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin2,737 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 379 | 214 | 1,897 |
JavaScript | 2 | 162 | 113 | 688 |
CSS | 1 | 26 | 3 | 125 |
SVG | 3 | 0 | 2 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 45.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 138.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 14 | 22.58% |
▷ Public methods | 61 | 98.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.61% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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/images/avatar.png | 1.45KB | 1.14KB | ▼ 21.83% |