Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.27ms] Passed 4 tests
Server-side resources used by ACF to Custom Database Tables
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.91 ▼1.03 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.35 ▼3.78 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 46.00 ▼2.80 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.82 ▼11.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.25 ▼2.67 |
Custom Tables /wp-admin/edit.php?post_type=acf-field-group&page=acf-custom-table | 3.10 | 25.32 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF to Custom Database Tables
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.54 ▲0.20 | 1.82 ▲0.07 | 45.72 ▼0.11 |
Dashboard /wp-admin | 2,198 ▲24 | 5.55 ▲0.01 | 83.50 ▼18.83 | 38.12 ▼4.29 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▲0.00 | 35.51 ▼5.25 | 30.95 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.04 ▼2.10 | 678.70 ▲35.38 | 53.10 ▼19.33 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.17 ▲0.00 | 96.44 ▼4.00 | 43.00 ▲2.14 |
Custom Tables /wp-admin/edit.php?post_type=acf-field-group&page=acf-custom-table | 28 | 0.41 | 0.09 | 3.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/acf-to-custom-database-tables/includes/views/acf-custom-table-view.php
- 34× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Trait 'Acfct_formatters' not found in wp-content/plugins/acf-to-custom-database-tables/includes/class-acfct-register-hooks.php on line 3
- > PHP Warning
include_once(ACF_CUSTOM_TABLE_PATHincludes/class-acfct-register-hooks.php): failed to open stream: No such file or directory in wp-content/plugins/acf-to-custom-database-tables/includes/include.php on line 16
- > PHP Warning
Use of undefined constant ACF_CUSTOM_TABLE_PATH - assumed 'ACF_CUSTOM_TABLE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/acf-to-custom-database-tables/includes/views/acf-custom-table-view.php on line 130
- > PHP Warning
include_once(ACF_CUSTOM_TABLE_PATHincludes/api/public-api.php): failed to open stream: No such file or directory in wp-content/plugins/acf-to-custom-database-tables/includes/include.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/acf-to-custom-database-tables/includes/views/acf-custom-table-log.php:3
- > PHP Warning
Use of undefined constant ACF_CUSTOM_TABLE_PATH - assumed 'ACF_CUSTOM_TABLE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/acf-to-custom-database-tables/includes/include.php on line 7
- > PHP Warning
include_once(): Failed opening 'ACF_CUSTOM_TABLE_PATHincludes/class-acfct-database-manager.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/acf-to-custom-database-tables/includes/include.php on line 15
- > PHP Warning
include_once(ACF_CUSTOM_TABLE_PATHincludes/trait-acfct-formatters.php): failed to open stream: No such file or directory in wp-content/plugins/acf-to-custom-database-tables/includes/include.php on line 13
- > PHP Warning
include_once(): Failed opening 'ACF_CUSTOM_TABLE_PATHincludes/views/acf-custom-table-list.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/acf-to-custom-database-tables/includes/views/acf-custom-table-view.php on line 130
- > PHP Warning
include_once(): Failed opening 'ACF_CUSTOM_TABLE_PATHincludes/trait-acfct-formatters.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/acf-to-custom-database-tables/includes/include.php on line 13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=acf-field-group&page=acf-custom-table
- > Network (severe)
wp-admin/edit.php?post_type=acf-field-group&page=acf-custom-table - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: acf, custom fields, acf to custom table
acf-to-custom-database-tables/acf-to-custom-database-tables.php Passed 13 tests
The primary PHP file in "ACF to Custom Database Tables" version 1.0.6 is used by WordPress to initiate all plugin functionality
117 characters long description:
An add-on plugin for Advanced Custom Fields plugin which lets you save custom fields data in a custom database table.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,682 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 325 | 343 | 1,661 |
JavaScript | 1 | 5 | 0 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 22.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 27 | 43.55% |
▷ Public methods | 53 | 85.48% |
▷ Protected methods | 6 | 9.68% |
▷ Private methods | 3 | 4.84% |
Functions | 19 | |
▷ Named functions | 10 | 52.63% |
▷ Anonymous functions | 9 | 47.37% |
Constants | 13 | |
▷ Global constants | 13 | 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
There are no PNG files in this plugin