Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.14ms] Passed 4 tests
Server-side resources used by Kybernaut IČO DIČ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.60 ▼5.99 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.29 ▼12.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.78 ▼1.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.08 ▼4.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.30 ▲1.00 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Kybernaut IČO DIČ
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲68 | 14.70 ▲0.44 | 1.85 ▲0.10 | 38.36 ▼5.16 |
Dashboard /wp-admin | 2,198 ▲23 | 5.56 ▼0.09 | 89.92 ▼23.49 | 42.10 ▼1.13 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.06 | 38.80 ▼0.57 | 36.84 ▲3.25 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.24 ▼0.04 | 593.08 ▼46.50 | 48.47 ▼12.57 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.01 | 96.24 ▲3.19 | 40.25 ▼0.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Interface 'Ibericode\\Vat\\Clients\\Client' not found in wp-content/plugins/woolab-ic-dic/vendor/ibericode/vat/src/Clients/IbericodeVatRatesClient.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woolab-ic-dic/vendor/ibericode/vat/tests/Clients/ClientsTest.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woolab-ic-dic/includes/compatibility/superfaktura.php:10
- > PHP Fatal error
Uncaught Error: Class 'Ibericode\\Vat\\Exception' not found in wp-content/plugins/woolab-ic-dic/vendor/ibericode/vat/src/Clients/ClientException.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woolab-ic-dic/vendor/ibericode/vat/tests/CountriesTest.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woolab-ic-dic/includes/settings.php:3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woolab-ic-dic/vendor/ibericode/vat/tests/ValidatorTest.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woolab-ic-dic/vendor/ibericode/vat/tests/RatesTest.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woolab-ic-dic/vendor/ibericode/vat/tests/GeolocatorTest.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woolab-ic-dic/includes/admin-notice.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 48 tag instead of maximum 10
woolab-ic-dic/woolab-ic-dic.php 92% from 13 tests
The principal PHP file in "Kybernaut IČO DIČ" v. 1.7.4 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "3.5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,937 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 544 | 812 | 2,482 |
JavaScript | 6 | 62 | 24 | 292 |
JSON | 3 | 0 | 0 | 116 |
XML | 2 | 0 | 0 | 36 |
YAML | 1 | 3 | 0 | 9 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 6.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 18 | 17.31% |
▷ Public methods | 93 | 89.42% |
▷ Protected methods | 3 | 2.88% |
▷ Private methods | 8 | 7.69% |
Functions | 42 | |
▷ Named functions | 39 | 92.86% |
▷ Anonymous functions | 3 | 7.14% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 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
No PNG images were found in this plugin