Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲2.11MB] [CPU: ▲16.83ms] Passed 4 tests
A check of server-side resources used by Air WP Sync - Airtable to WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.56 ▲2.09 | 59.22 ▲19.07 |
Dashboard /wp-admin | 5.46 ▲2.15 | 62.70 ▲13.36 |
Posts /wp-admin/edit.php | 5.51 ▲2.15 | 62.44 ▲15.03 |
Add New Post /wp-admin/post-new.php | 7.99 ▲2.10 | 112.95 ▲19.84 |
Media Library /wp-admin/upload.php | 5.32 ▲2.09 | 58.42 ▲24.40 |
Add New /wp-admin/post-new.php?post_type=airwpsync-connection | 5.53 | 63.72 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 5.55 | 56.60 |
All Connections /wp-admin/edit.php?post_type=airwpsync-connection | 5.37 | 53.60 |
Server storage [IO: ▲1.66MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 159 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_actionscheduler_claims |
wp_actionscheduler_logs |
wp_actionscheduler_actions |
wp_actionscheduler_groups |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
schema-ActionScheduler_LoggerSchema |
schema-ActionScheduler_StoreSchema |
action_scheduler_lock_async-request-runner |
widget_recent-posts |
action_scheduler_hybrid_store_demarkation |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Air WP Sync - Airtable to WordPress: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲87 | 14.36 ▲0.04 | 1.78 ▲0.09 | 42.85 ▼2.12 |
Dashboard /wp-admin | 2,257 ▲80 | 5.62 ▼0.03 | 83.58 ▼12.27 | 39.28 ▼0.81 |
Posts /wp-admin/edit.php | 2,160 ▲60 | 1.98 ▲0.04 | 40.15 ▲2.46 | 34.52 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,554 ▲25 | 23.00 ▼0.38 | 657.99 ▲47.05 | 58.23 ▲6.48 |
Media Library /wp-admin/upload.php | 1,466 ▲69 | 4.18 ▼0.02 | 95.35 ▼4.38 | 40.91 ▼1.18 |
Add New /wp-admin/post-new.php?post_type=airwpsync-connection | 3,398 | 4.57 | 104.56 | 96.98 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,307 | 1.81 | 27.99 | 31.64 |
All Connections /wp-admin/edit.php?post_type=airwpsync-connection | 1,172 | 1.91 | 34.26 | 36.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 4 tables
- wp_actionscheduler_actions
- wp_actionscheduler_groups
- wp_actionscheduler_claims
- wp_actionscheduler_logs
- This plugin does not fully uninstall, leaving 10 options in the database
- schema-ActionScheduler_StoreSchema
- action_scheduler_lock_async-request-runner
- action_scheduler_hybrid_store_demarkation
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- schema-ActionScheduler_LoggerSchema
- theysaidso_admin_options
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 | 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
- 60× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Air_WP_Sync_Free\\Air_WP_Sync_Abstract_Destination' not found in wp-content/plugins/air-wp-sync/modules/user/destinations/class-air-wp-sync-user-destination.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/air-wp-sync/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/air-wp-sync/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Warning
require_once(AIR_WP_SYNC_PLUGIN_DIRmodules/user/class-air-wp-sync-user-importer.php): failed to open stream: No such file or directory in wp-content/plugins/air-wp-sync/modules/user/class-air-wp-sync-user-module.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/air-wp-sync/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_NullAction.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/air-wp-sync/vendor/woocommerce/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Fatal error
require_once(): Failed opening required 'AIR_WP_SYNC_PLUGIN_DIRmodules/post/class-air-wp-sync-post-helpers.php' (include_path='.:/usr/share/php') in wp-content/plugins/air-wp-sync/modules/post/class-air-wp-sync-post-module.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/air-wp-sync/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_ListTable' not found in wp-content/plugins/air-wp-sync/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ListTable.php:7
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/air-wp-sync/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: wordpress, wpconnect, api, airtable
air-wp-sync/air-wp-sync.php Passed 13 tests
The principal PHP file in "Air WP Sync - Airtable to WordPress" v. 2.1.0 is loaded by WordPress automatically on each request
48 characters long description:
Swiftly sync Airtable to your WordPress website!
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 detected13,085 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 138 | 2,681 | 6,688 | 11,564 |
JavaScript | 6 | 51 | 42 | 570 |
PO File | 1 | 192 | 314 | 482 |
CSS | 1 | 92 | 7 | 415 |
JSON | 1 | 0 | 0 | 49 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 117 | |
▷ Abstract classes | 19 | 16.24% |
▷ Concrete classes | 98 | 83.76% |
▷ Final classes | 0 | 0.00% |
Methods | 915 | |
▷ Static methods | 95 | 10.38% |
▷ Public methods | 629 | 68.74% |
▷ Protected methods | 261 | 28.52% |
▷ Private methods | 25 | 2.73% |
Functions | 46 | |
▷ Named functions | 20 | 43.48% |
▷ Anonymous functions | 26 | 56.52% |
Constants | 40 | |
▷ Global constants | 6 | 15.00% |
▷ Class constants | 34 | 85.00% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and 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/logo-wpconnect-v2.png | 1.87KB | 0.90KB | ▼ 51.88% |