Benchmarks
Plugin footprint 30% 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: ▲1.32MB] [CPU: ▲17.39ms] Passed 4 tests
A check of server-side resources used by Personio Integration Light
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 48.05 ▲4.68 |
Dashboard /wp-admin | 4.74 ▲1.40 | 72.14 ▲8.33 |
Posts /wp-admin/edit.php | 4.83 ▲1.47 | 83.28 ▲39.11 |
Add New Post /wp-admin/post-new.php | 7.79 ▲1.90 | 120.67 ▲28.92 |
Media Library /wp-admin/upload.php | 4.69 ▲1.46 | 67.26 ▲27.62 |
All Positions /wp-admin/edit.php?post_type=personioposition | 5.63 | 148.54 |
Settings /wp-admin/edit.php?post_type=personioposition&page=personioPositions | 4.66 | 59.57 |
Server storage [IO: ▲0.60MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 107 new files
Database: 1 new table, 43 new options
New tables |
---|
wp_personio_import_logs |
New WordPress options |
---|
widget_theysaidso_widget |
personioIntegrationTemplateExcerptDefaults |
personioIntegrationTemplateFilter |
personioIntegrationMainLanguage |
personioIntegrationExtendSearch |
piImportCount |
personioIntegrationTemplateBackToListButton |
widget_recent-comments |
personioPositionLanguagesen |
personioIntegrationDeleteOnUninstall |
... |
Browser metrics Passed 4 tests
Personio Integration Light: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲108 | 14.32 ▼0.03 | 1.99 ▲0.20 | 40.25 ▼11.90 |
Dashboard /wp-admin | 2,232 ▲54 | 5.58 ▼0.17 | 98.67 ▼15.07 | 78.75 ▲31.86 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.01 ▲0.07 | 37.60 ▼2.82 | 33.44 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 23.57 ▲2.47 | 764.25 ▲85.58 | 49.79 ▲4.16 |
Media Library /wp-admin/upload.php | 1,446 ▲49 | 4.29 ▲0.09 | 97.16 ▼2.77 | 80.79 ▲36.24 |
All Positions /wp-admin/edit.php?post_type=personioposition | 2,598 | 2.44 | 40.25 | 37.44 |
Settings /wp-admin/edit.php?post_type=personioposition&page=personioPositions | 950 | 2.06 | 28.37 | 41.99 |
Uninstaller [IO: ▲0.60MB] [DB: ▲0.05MB] 0% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the followingThis plugin does not fully uninstall, leaving 1 table in the database Zombie WordPress options detected upon uninstall: 44 options
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/personio-integration-light/uninstall.php+10
Constant WP_PERSONIO_INTEGRATION_PLUGIN already defined
- Incomplete uninstall procedure, leaving 107 files (0.60MB) in the plugin directory
- (new file) blocks/application-button/block.json
- (new file) blocks/components.js
- (new file) blocks/application-button/build/index.js
- (new file) blocks/application-button/build/style-index.css
- (new file) admin/styles.css
- (new file) blocks/application-button/build/index.css
- (new file) admin/js.js
- (new file) blocks/description/block.json
- (new file) admin/index.php
- (new file) blocks/application-button/build/index.asset.php
- ...
- wp_personio_import_logs
- recovery_mode_email_last_sent
- personioIntegrationTemplateContentDefaults
- personioIntegrationTemplateFilter
- personioIntegrationTemplateBackToListButton
- personioIntegrationEnableFilter
- personioIntegrationLightInstallDate
- personioIntegrationMainLanguage
- personioTaxonomyDefaults
- personioIntegrationMaxAgeLogEntries
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/personio-integration-light/templates/parts/archive/default.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/personio-integration-light/inc/settings/permissions.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/personio-integration-light/inc/settings/import.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/personio-integration-light/inc/settings/general.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/personio-integration-light/inc/admin.php:88
- > PHP Fatal error
Trait 'personioIntegration\\helper_cli' not found in wp-content/plugins/personio-integration-light/classes/class-cli.php on line 13
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/personio-integration-light/templates/parts/archive/listing.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/personio-integration-light/inc/settings/tracking.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/personio-integration-light/inc/settings/templates.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/personio-integration-light/inc/settings/settings.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: employee, personio, jobs, recruitment
personio-integration-light/personio-integration-light.php 92% from 13 tests
"Personio Integration Light" version 2.6.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.9.3" instead of "5.9")
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
Success! There were no dangerous files found in this plugin7,164 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 1,013 | 3,036 | 6,400 |
JSON | 7 | 0 | 0 | 466 |
JavaScript | 9 | 31 | 19 | 160 |
CSS | 6 | 34 | 3 | 117 |
XML | 1 | 0 | 0 | 17 |
HTML | 2 | 10 | 12 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 56 | 35.00% |
▷ Public methods | 136 | 85.00% |
▷ Protected methods | 3 | 1.88% |
▷ Private methods | 21 | 13.12% |
Functions | 154 | |
▷ Named functions | 147 | 95.45% |
▷ Anonymous functions | 7 | 4.55% |
Constants | 36 | |
▷ Global constants | 3 | 8.33% |
▷ Class constants | 33 | 91.67% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gfx/personio_icon.png | 8.22KB | 0.38KB | ▼ 95.40% |
gfx/list_en.png | 29.83KB | 8.63KB | ▼ 71.05% |
gfx/list_de.png | 29.89KB | 8.75KB | ▼ 70.74% |