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: ▲3.79MB] [CPU: ▼123.37ms] Passed 4 tests
This is a short check of server-side resources used by Post to Captorra
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.43 ▲3.59 | 45.61 ▲23.57 |
Dashboard /wp-admin | 6.87 ▲3.81 | 51.98 ▲16.13 |
Posts /wp-admin/edit.php | 6.99 ▲3.88 | 50.18 ▲20.73 |
Add New Post /wp-admin/post-new.php | 9.40 ▲3.96 | 90.85 ▼553.90 |
Media Library /wp-admin/upload.php | 6.91 ▲3.90 | 48.28 ▲24.34 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 6.89 | 42.98 |
API Logs /wp-admin/admin.php?page=capi_logs_admin_page | 6.79 | 40.91 |
Integrations /wp-admin/edit.php?post_type=capi_integration | 6.87 | 41.92 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 6.98 | 59.63 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 6.90 | 42.96 |
Dashboard /wp-admin/admin.php?page=capi_dashboard_admin_page | 6.78 | 41.04 |
Server storage [IO: ▲9.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 265 new files
Database: 2 new tables, 1 new option
New tables |
---|
wp_capi_process_log |
wp_capi_api_log |
New WordPress options |
---|
acf_version |
Browser metrics Passed 4 tests
Post to Captorra: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,908 ▲307 | 16.29 ▲0.71 | 16.35 ▲10.94 | 79.86 ▲7.05 |
Dashboard /wp-admin | 3,010 ▲111 | 6.15 ▲0.00 | 115.39 ▼16.17 | 168.14 ▼5.02 |
Posts /wp-admin/edit.php | 2,824 ▲118 | 3.38 ▲0.01 | 63.46 ▲1.22 | 134.99 ▼1.27 |
Add New Post /wp-admin/post-new.php | 4,489 ▲791 | 19.07 ▲0.27 | 565.34 ▲115.24 | 166.21 ▼0.89 |
Media Library /wp-admin/upload.php | 2,485 ▲733 | 10.79 ▲5.28 | 226.46 ▲69.63 | 188.89 ▲2.33 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,705 | 3.28 | 64.20 | 132.89 |
API Logs /wp-admin/admin.php?page=capi_logs_admin_page | 1,292 | 2.56 | 57.06 | 105.50 |
Integrations /wp-admin/edit.php?post_type=capi_integration | 1,501 | 3.30 | 61.54 | 110.98 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 3,196 | 5.69 | 108.57 | 217.71 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,593 | 4.32 | 74.87 | 159.09 |
Dashboard /wp-admin/admin.php?page=capi_dashboard_admin_page | 1,157 | 2.55 | 56.23 | 110.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/post-to-captorra/post-to-captorra.php+827
Undefined offset: 1
- Zombie WordPress options detected upon uninstall: 1 option
- acf_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=acf-field-group
- > POST request to /wp-admin/admin-ajax.php?action=capi_load_selected
- > Notice in wp-content/plugins/post-to-captorra/post-to-captorra.php+1210
Undefined index: id
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 80× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: rule in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/l10n.php:153
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/post-to-captorra/class/capi_log_list_table.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/fields/class-acf-field-tab.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/forms/form-comment.php:34
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/fields/class-acf-field-checkbox.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/fields/class-acf-field-relationship.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/admin/views/html-admin-page-upgrade.php:26
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/fields/class-acf-field-date_picker.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/post-to-captorra/lib/advanced-custom-fields/includes/admin/views/html-location-rule.php on line 4
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=acf-field-group&page=acf-tools 357:50 Uncaught SyntaxError: Unexpected token '}'
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
post-to-captorra/post-to-captorra.php 92% from 13 tests
The entry point to "Post to Captorra" version 1.1.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin113,881 lines of code in 206 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 23,805 | 40,551 | 48,965 |
JavaScript | 19 | 5,892 | 5,991 | 38,520 |
PHP | 139 | 9,011 | 18,480 | 20,298 |
CSS | 15 | 495 | 739 | 6,078 |
Markdown | 1 | 11 | 0 | 14 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 103 | |
▷ Abstract classes | 2 | 1.94% |
▷ Concrete classes | 101 | 98.06% |
▷ Final classes | 0 | 0.00% |
Methods | 755 | |
▷ Static methods | 1 | 0.13% |
▷ Public methods | 736 | 97.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 2.52% |
Functions | 492 | |
▷ Named functions | 489 | 99.39% |
▷ Anonymous functions | 3 | 0.61% |
Constants | 27 | |
▷ Global constants | 27 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.30MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/advanced-custom-fields/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |
assets/screenshot-1.png | 51.34KB | 26.68KB | ▼ 48.03% |
assets/screenshot-4.png | 54.25KB | 29.75KB | ▼ 45.17% |
lib/advanced-custom-fields/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
lib/advanced-custom-fields/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |