Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/aspose-doc-exporter/plugin.php+17
include_once(wp-content/plugins/aspose-doc-exporter/local.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.95MB] [CPU: ▼55.30ms] Passed 4 tests
An overview of server-side resources used by Aspose.Words - Import and Export word documents
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 5.04 ▼36.15 |
Dashboard /wp-admin | 2.06 ▼1.28 | 4.80 ▼53.40 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 5.02 ▼39.09 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 6.98 ▼92.55 |
Media Library /wp-admin/upload.php | 2.06 ▼1.16 | 6.03 ▼29.09 |
Server storage [IO: ▲13.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 1,448 new files
Database: no new tables, 18 new options
New WordPress options |
---|
aspose_doc_exporter_metadata |
aspose_doc_exporter_excerpt |
db_upgraded |
aspose_doc_exporter_content |
aspose-cloud-activation-secret |
aspose_doc_exporter_post_author |
aspose_doc_exporter_do_shortcode |
aspose_doc_exporter_post_date |
aspose_doc_exporter_post_comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Aspose.Words - Import and Export word documents
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 14.63 ▲0.35 | 2.04 ▲0.36 | 46.12 ▲7.29 |
Dashboard /wp-admin | 2,234 ▲53 | 5.62 ▼0.04 | 91.06 ▼17.69 | 45.30 ▲0.99 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.10 ▲0.09 | 36.33 ▼2.55 | 37.49 ▲6.15 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 23.56 ▲0.57 | 605.98 ▼0.76 | 46.54 ▲4.17 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.24 ▲0.06 | 95.89 ▼17.64 | 47.65 ▲1.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/aspose-doc-exporter/plugin.php+17
include_once(wp-content/plugins/aspose-doc-exporter/local.php): failed to open stream: No such file or directory
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/aspose-doc-exporter/templates/import-metabox.php
- 860× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/aspose-doc-exporter/vendor/twig/twig/src/Node/Expression/InlinePrint.php:20
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\StreamCipher' not found in wp-content/plugins/aspose-doc-exporter/vendor/phpseclib/phpseclib/phpseclib/Crypt/RC4.php:56
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Words\\Model\\Requests\\BaseApiRequest' not found in wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/Model/Requests/SaveAsRangeRequest.php:45
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\EvalBarrett' not found in wp-content/plugins/aspose-doc-exporter/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/DefaultEngine.php:27
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Words\\Model\\Requests\\BaseApiRequest' not found in wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/Model/Requests/GetDocumentDrawingObjectImageDataOnlineRequest.php:45
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Words\\Model\\Requests\\BaseApiRequest' not found in wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/Model/Requests/GetBordersRequest.php:45
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Words\\Model\\Requests\\BaseApiRequest' not found in wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/Model/Requests/UpdateFormFieldOnlineRequest.php:45
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Words\\Model\\FixedPageSaveOptionsData' not found in wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/Model/SvgSaveOptionsData.php:37
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Words\\Model\\Requests\\BaseApiRequest' not found in wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/Model/Requests/UpdateCommentRequest.php:45
- > PHP Fatal error
Uncaught Error: Class 'Aspose\\Words\\Model\\Requests\\BaseApiRequest' not found in wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/Model/Requests/GetTableRowRequest.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
- Requires at least: The plugin version is formatted incorrectly
aspose-doc-exporter/plugin.php 85% from 13 tests
The main PHP script in "Aspose.Words - Import and Export word documents" version 6.3.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("aspose-doc-exporter.php" instead of "plugin.php")
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "5")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin222,392 lines of code in 1,417 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,354 | 38,382 | 141,392 | 215,295 |
Markdown | 23 | 1,426 | 0 | 4,143 |
JSON | 25 | 1 | 0 | 2,549 |
Twig | 2 | 39 | 66 | 146 |
XML | 4 | 4 | 1 | 99 |
YAML | 4 | 4 | 1 | 74 |
JavaScript | 1 | 14 | 0 | 46 |
make | 2 | 12 | 0 | 27 |
reStructuredText | 1 | 8 | 5 | 10 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 4,877)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 20.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,877.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 92 | |
Interfaces | 49 | |
Traits | 7 | |
Classes | 1,264 | |
▷ Abstract classes | 218 | 17.25% |
▷ Concrete classes | 1,046 | 82.75% |
▷ Final classes | 143 | 13.67% |
Methods | 16,442 | |
▷ Static methods | 1,998 | 12.15% |
▷ Public methods | 15,107 | 91.88% |
▷ Protected methods | 265 | 1.61% |
▷ Private methods | 1,070 | 6.51% |
Functions | 1,262 | |
▷ Named functions | 155 | 12.28% |
▷ Anonymous functions | 1,107 | 87.72% |
Constants | 2,870 | |
▷ Global constants | 9 | 0.31% |
▷ Class constants | 2,861 | 99.69% |
▷ Public constants | 2,839 | 99.23% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin