Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▲0.56ms] Passed 4 tests
Server-side resources used by WooCommerce Importer for Reviso
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 45.56 ▲3.24 |
Dashboard /wp-admin | 3.52 ▲0.22 | 55.16 ▲6.02 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 57.20 ▲4.36 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 92.33 ▼11.37 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 41.38 ▲10.96 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 3.61 | 67.14 |
Server storage [IO: ▲1.49MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 211 new files
Database: 5 new tables, 10 new options
New tables |
---|
wp_actionscheduler_groups |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_wcifr_users_temporary_data |
wp_actionscheduler_actions |
New WordPress options |
---|
action_scheduler_lock_async-request-runner |
schema-ActionScheduler_LoggerSchema |
can_compress_scripts |
widget_recent-posts |
schema-ActionScheduler_StoreSchema |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
action_scheduler_hybrid_store_demarkation |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Importer for Reviso
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.38 ▼0.03 | 1.78 ▼0.12 | 41.90 ▼3.20 |
Dashboard /wp-admin | 2,201 ▲21 | 5.60 ▼0.04 | 92.65 ▲1.70 | 40.51 ▼1.89 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.99 ▼0.05 | 40.56 ▼1.59 | 35.15 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,554 ▲14 | 18.38 ▼4.52 | 600.86 ▲10.23 | 47.44 ▼10.49 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▲0.02 | 98.27 ▼1.06 | 40.20 ▼3.88 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,251 | 1.82 | 23.34 | 30.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_actionscheduler_claims
- wp_wcifr_users_temporary_data
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- wp_actionscheduler_groups
- Zombie WordPress options detected upon uninstall: 10 options
- action_scheduler_lock_async-request-runner
- db_upgraded
- schema-ActionScheduler_LoggerSchema
- action_scheduler_hybrid_store_demarkation
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- schema-ActionScheduler_StoreSchema
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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 take a closer look at the following
- 84× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/tests/phpunit/procedural_api/wc_get_scheduled_actions_Test.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/tests/phpunit/helpers/ActionScheduler_Compatibility_Test.php:5
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/classes/actions/ActionScheduler_NullAction.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/tests/phpunit/migration/Scheduler_Test.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/tests/phpunit/migration/Controller_Test.php:17
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/classes/actions/ActionScheduler_FinishedAction.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/tests/phpunit/migration/LogMigrator_Test.php:9
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/wc-importer-for-reviso/libraries/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: danea easyfatt, fatturazione, invoice, team system, reviso...
wc-importer-for-reviso/wc-importer-for-reviso.php Passed 13 tests
Analyzing the main PHP file in "WooCommerce Importer for Reviso" version 0.9.2
82 characters long description:
Connect your store to Reviso and import orders, products, customers and suppliers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected24,608 lines of code in 182 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 133 | 2,735 | 5,825 | 9,829 |
CSS | 6 | 139 | 48 | 7,875 |
JavaScript | 8 | 506 | 101 | 2,998 |
JSON | 8 | 0 | 0 | 2,599 |
Markdown | 13 | 395 | 0 | 702 |
Bourne Shell | 1 | 23 | 11 | 147 |
YAML | 5 | 18 | 10 | 123 |
PO File | 1 | 128 | 250 | 105 |
XML | 3 | 8 | 3 | 91 |
HTML | 2 | 8 | 0 | 52 |
Sass | 1 | 10 | 0 | 47 |
SVG | 1 | 0 | 0 | 40 |
PHP code Passed 2 tests
Analyzing 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.21 |
Average class complexity | 8.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 116 | |
▷ Abstract classes | 16 | 13.79% |
▷ Concrete classes | 100 | 86.21% |
▷ Final classes | 0 | 0.00% |
Methods | 842 | |
▷ Static methods | 70 | 8.31% |
▷ Public methods | 667 | 79.22% |
▷ Protected methods | 142 | 16.86% |
▷ Private methods | 33 | 3.92% |
Functions | 40 | |
▷ Named functions | 23 | 57.50% |
▷ Anonymous functions | 17 | 42.50% |
Constants | 44 | |
▷ Global constants | 10 | 22.73% |
▷ Class constants | 34 | 77.27% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/tzCheckbox/img/page_bg.png | 0.19KB | 0.26KB | 0.00% |
libraries/action-scheduler/docs/apple-touch-icon.png | 6.77KB | 2.46KB | ▼ 63.68% |
libraries/action-scheduler/docs/android-chrome-192x192.png | 6.77KB | 2.46KB | ▼ 63.68% |
vendor/harvesthq/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
images/pdf.png | 5.10KB | 0.52KB | ▼ 89.77% |