Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▲2.96ms] Passed 4 tests
This is a short check of server-side resources used by Számlahegy WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.39 ▲2.79 |
Dashboard /wp-admin | 3.45 ▲0.14 | 60.37 ▲10.25 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 55.85 ▲6.60 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 97.16 ▼7.18 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 47.11 ▲9.64 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Számlahegy WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲133 | 13.41 ▼0.99 | 7.64 ▲5.82 | 45.02 ▲2.62 |
Dashboard /wp-admin | 2,205 ▲25 | 5.67 ▲0.09 | 92.38 ▲4.44 | 42.14 ▼5.47 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.01 ▲0.03 | 40.40 ▲2.51 | 34.84 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.09 ▲0.11 | 601.02 ▼52.37 | 45.23 ▼19.56 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.20 ▲0.00 | 101.90 ▼1.73 | 40.36 ▼3.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/szamlahegy-woocommerce/public/partials/plugin-name-public-display.php
- > /wp-content/plugins/szamlahegy-woocommerce/admin/partials/szamlahegy-woocommerce-admin-display.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/szamlahegy-woocommerce/admin/partials/szamlahegy-woocommerce-admin-management.php:16
- > PHP Fatal error
Uncaught Error: Class 'Szamlahegy_Woocommerce' not found in wp-content/plugins/szamlahegy-woocommerce/admin/partials/szamlahegy-woocommerce-admin-metabox.php:16
- > 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 90% from 29 tests
readme.txt 81% 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 need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
- Screenshots: A description for screenshot #0 is missing in szamlahegy-woocommerce/assets to your readme.txt
szamlahegy-woocommerce/szamlahegy-woocommerce.php Passed 13 tests
This is the main PHP file of "Számlahegy WooCommerce" version 1.2.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
44 characters long description:
Woocommerce összekapcsolása Számlaheggyel
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin785 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 202 | 595 | 692 |
Markdown | 2 | 20 | 0 | 54 |
JavaScript | 2 | 10 | 54 | 35 |
CSS | 2 | 1 | 8 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 48 | |
▷ Static methods | 12 | 25.00% |
▷ Public methods | 43 | 89.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.42% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
4 PNG files occupy 0.23MB with 0.15MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 17.46KB | 5.19KB | ▼ 70.31% |
assets/banner-772x250.png | 96.06KB | 57.68KB | ▼ 39.96% |
assets/icon-128x128.png | 17.46KB | 5.19KB | ▼ 70.31% |
assets/screenshot1.png | 108.59KB | 31.42KB | ▼ 71.07% |