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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.72ms] Passed 4 tests
An overview of server-side resources used by Aspose.Cells Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 42.05 ▲4.79 |
Dashboard /wp-admin | 3.57 ▲0.27 | 46.65 ▼1.05 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 49.05 ▲1.24 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 84.51 ▼16.04 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 40.75 ▲0.97 |
Aspose.Cells Forms /wp-admin/options-general.php?page=apc-excel-to-form-settings | 3.40 | 31.73 |
Server storage [IO: ▲9.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 522 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_apc_shortcodes |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
aspose-cloud-activation-secret |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Aspose.Cells Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.78 ▲0.39 | 1.71 ▲0.03 | 44.26 ▲4.63 |
Dashboard /wp-admin | 2,222 ▲33 | 5.01 ▲0.06 | 108.02 ▲1.17 | 41.93 ▼1.46 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.08 ▲0.08 | 40.44 ▲1.49 | 34.78 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.10 ▼0.11 | 658.68 ▼30.05 | 55.68 ▼6.08 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.27 ▲0.05 | 101.74 ▼11.43 | 46.69 ▼1.62 |
Aspose.Cells Forms /wp-admin/options-general.php?page=apc-excel-to-form-settings | 882 | 2.07 | 24.36 | 32.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_apc_shortcodes
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- aspose-cloud-activation-secret
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 201× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Psr7\\Request' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/guzzlehttp/psr7/src/ServerRequest.php:25
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\Ecdsa' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php:18
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Cells\\Cloud\\Model\\CellsCloudResponse' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/aspose/cells-sdk-php/lib/Model/OleObjectResponse.php:53
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\OpenSSL' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/lcobucci/jwt/src/Signer/Rsa.php:18
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Cells\\Cloud\\Model\\ImportOption' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/aspose/cells-sdk-php/lib/Model/ImportStringArrayOption.php:53
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/lcobucci/jwt/test/unit/Signer/Hmac/Sha256Test.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/lcobucci/jwt/test/unit/Signer/Rsa/Sha384Test.php:14
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Cells\\Cloud\\Model\\CellsCloudResponse' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/aspose/cells-sdk-php/lib/Model/MergedCellResponse.php:53
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Cells\\Cloud\\Model\\CellsCloudResponse' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/aspose/cells-sdk-php/lib/Model/ValidationResponse.php:53
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Cells\\Cloud\\Model\\SaveOptions' not found in wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/aspose/cells-sdk-php/lib/Model/OdsSaveOptions.php:53
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in aspose-cloud-excel-to-form-builder/assets to your readme.txt
aspose-cloud-excel-to-form-builder/aspose-cloud-excel-to-form-builder.php Passed 13 tests
The entry point to "Aspose.Cells Forms" version 2.0 is a PHP file that has certain tags in its header comment area
130 characters long description:
Aspose.Cells Forms Plugin for WordPress allows site administrators/ownwers to create interactive forms using Microsoft Excel files
Code Analysis 0% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
These items require your attention
- Do not include executable or dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/aspose-cloud-excel-to-form-builder/vendor/aspose/cells-sdk-php/composer.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 456 | 57,678 | 146,373 | 128,678 |
Markdown | 15 | 1,185 | 0 | 3,598 |
JSON | 11 | 0 | 0 | 1,174 |
XML | 5 | 2 | 0 | 293 |
YAML | 3 | 3 | 0 | 78 |
Bourne Shell | 1 | 13 | 8 | 31 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
CSS | 1 | 1 | 9 | 6 |
DOS Batch | 1 | 0 | 0 | 4 |
JavaScript | 1 | 2 | 0 | 2 |
PHP code 0% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 8,642)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 31.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8,642.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 20 | |
Traits | 3 | |
Classes | 395 | |
▷ Abstract classes | 5 | 1.27% |
▷ Concrete classes | 390 | 98.73% |
▷ Final classes | 28 | 7.18% |
Methods | 8,538 | |
▷ Static methods | 1,406 | 16.47% |
▷ Public methods | 8,108 | 94.96% |
▷ Protected methods | 273 | 3.20% |
▷ Private methods | 157 | 1.84% |
Functions | 949 | |
▷ Named functions | 86 | 9.06% |
▷ Anonymous functions | 863 | 90.94% |
Constants | 420 | |
▷ Global constants | 42 | 10.00% |
▷ Class constants | 378 | 90.00% |
▷ Public constants | 378 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin