Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲5.16MB] [CPU: ▼263.21ms] 75% from 4 tests
This is a short check of server-side resources used by WP Data Access
The following require your attention
- Extra RAM: The extra memory usage must be under 5MB (currently 5.16MB on /wp-admin/options-general.php?page=wpdataaccess)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.68 ▲5.16 | 89.82 ▲37.96 |
Dashboard /wp-admin | 8.61 ▲5.20 | 67.06 ▲27.81 |
Posts /wp-admin/edit.php | 8.83 ▲5.19 | 72.10 ▲31.92 |
Add New Post /wp-admin/post-new.php | 12.08 ▲5.11 | 125.02 ▼1,150.54 |
Media Library /wp-admin/upload.php | 8.52 ▲5.22 | 68.59 ▲44.85 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.73 | 56.58 |
WP Data Access /wp-admin/options-general.php?page=wpdataaccess | 9.42 | 68.08 |
Server storage [IO: ▲6.60MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 559 new files
Database: 10 new tables, 8 new options
New tables |
---|
wp_wpda_project_page |
wp_wpda_table_design |
wp_wpda_media |
wp_wpda_project |
wp_wpda_menus |
wp_wpda_publisher |
wp_wpda_csv_uploads |
wp_wpda_logging |
wp_wpda_project_table |
wp_wpda_table_settings |
New WordPress options |
---|
wpda_version |
fs_debug_mode |
fs_accounts |
wpda_fulltext_support |
wpda_show_whats_new |
fs_active_plugins |
wpda_plugin_sonce_seed |
fs_gdpr |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Data Access
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,962 ▲208 | 17.96 ▲2.18 | 20.93 ▲15.12 | 2.39 ▼0.05 |
Dashboard /wp-admin | 2,942 ▲81 | 6.11 ▼0.07 | 118.46 ▼19.61 | 169.80 ▲9.47 |
Posts /wp-admin/edit.php | 2,744 ▲56 | 3.37 ▲0.01 | 63.37 ▼3.10 | 164.92 ▲22.94 |
Add New Post /wp-admin/post-new.php | 1,639 ▼29 | 19.36 ▲0.45 | 447.03 ▲50.87 | 183.01 ▲25.51 |
Media Library /wp-admin/upload.php | 1,751 ▲53 | 5.46 ▼0.08 | 151.13 ▲12.21 | 210.31 ▲27.04 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,478 | 2.62 | 59.95 | 128.14 |
WP Data Access /wp-admin/options-general.php?page=wpdataaccess | 2,760 | 6.01 | 105.87 | 161.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-data-access/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- The plugin did not uninstall successfully, leaving 10 tables in the database
- wp_wpda_project
- wp_wpda_menus
- wp_wpda_project_page
- wp_wpda_logging
- wp_wpda_table_design
- wp_wpda_publisher
- wp_wpda_media
- wp_wpda_table_settings
- wp_wpda_csv_uploads
- wp_wpda_project_table
- Zombie WordPress options were found after uninstall: 8 options
- fs_active_plugins
- wpda_version
- wpda_show_whats_new
- fs_gdpr
- fs_debug_mode
- wpda_plugin_sonce_seed
- fs_accounts
- wpda_fulltext_support
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
- 115× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPDataAccess\\Simple_Form\\WPDA_Simple_Form_Item' not found in wp-content/plugins/wp-data-access/WPDataAccess/Simple_Form/WPDA_Simple_Form_Item_File.php:19
- > PHP Fatal error
Uncaught Error: Class 'WPDataProjects\\Parent_Child\\WPDP_Child_List_Table' not found in wp-content/plugins/wp-data-access/WPDataProjects/Project/WPDP_Project_Page_List.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UploadedFileInterface' not found in wp-content/plugins/wp-data-access/vendor/guzzlehttp/psr7/src/UploadedFile.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/wp-data-access/vendor/guzzlehttp/psr7/src/Response.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/wp-data-access/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPDataProjects\\Parent_Child\\WPDP_Parent_List_Table' not found in wp-content/plugins/wp-data-access/WPDataProjects/Project/WPDP_Project_Project_List.php:21
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/wp-data-access/vendor/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
Uncaught Error: Class 'WPDataProjects\\Parent_Child\\WPDP_Child_List_Table' not found in wp-content/plugins/wp-data-access/WPDataProjects/Parent_Child/WPDP_Child_List_Table_View.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-data-access/vendor/guzzlehttp/psr7/src/DroppingStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'WPDataAccess\\Utilities\\WPDA_Export_Formatted' not found in wp-content/plugins/wp-data-access/WPDataAccess/Utilities/WPDA_Export_Csv.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in wp-data-access/assets to your readme.txt
- Tags: There are too many tags (11 tag instead of maximum 10)
wp-data-access/wp-data-access.php Passed 13 tests
The main PHP file in "WP Data Access" ver. 5.1.5 adds more information about the plugin and also serves as the entry point for this plugin
123 characters long description:
Local and remote data administration, publication and app development tool available directly from the WordPress dashboard.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin90,889 lines of code in 431 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 337 | 14,294 | 33,267 | 78,029 |
Markdown | 12 | 1,258 | 0 | 4,404 |
JavaScript | 18 | 399 | 292 | 3,715 |
PO File | 1 | 1,136 | 1,984 | 2,236 |
CSS | 27 | 206 | 48 | 1,741 |
JSON | 7 | 0 | 0 | 505 |
SQL | 23 | 0 | 0 | 139 |
YAML | 4 | 25 | 0 | 87 |
XML | 1 | 0 | 0 | 24 |
make | 1 | 4 | 0 | 9 |
PHP code 0% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,910)
- Method cyclomatic complexity should be reduced to less than 100 (currently 173)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 41.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 173.00 |
Code structure | ||
---|---|---|
Namespaces | 36 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 243 | |
▷ Abstract classes | 3 | 1.23% |
▷ Concrete classes | 240 | 98.77% |
▷ Final classes | 17 | 7.08% |
Methods | 2,792 | |
▷ Static methods | 479 | 17.16% |
▷ Public methods | 1,945 | 69.66% |
▷ Protected methods | 376 | 13.47% |
▷ Private methods | 471 | 16.87% |
Functions | 255 | |
▷ Named functions | 164 | 64.31% |
▷ Anonymous functions | 91 | 35.69% |
Constants | 323 | |
▷ Global constants | 98 | 30.34% |
▷ Class constants | 225 | 69.66% |
▷ Public constants | 225 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
75 PNG files occupy 0.22MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/google_chart_types/ScatterChart.png | 6.30KB | 3.02KB | ▼ 52.11% |
assets/css/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/css/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
assets/css/images/ui-bg_glass_40_ffc73d_1x400.png | 0.37KB | 0.16KB | ▼ 57.22% |
assets/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |