Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.96ms] Passed 4 tests
An overview of server-side resources used by Aspose Cloud Presentation Importer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.83 ▲2.86 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.31 ▼3.43 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.04 ▼2.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.18 ▼8.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.85 ▲4.05 |
Aspose Cloud Presentation Importer /wp-admin/options-general.php?page=AsposePptImporterAdminMenu | 3.21 | 30.76 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Aspose Cloud Presentation Importer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲88 | 13.79 ▼0.61 | 1.70 ▲0.12 | 45.24 ▲4.59 |
Dashboard /wp-admin | 2,229 ▲41 | 5.24 ▲0.32 | 109.85 ▲4.22 | 44.99 ▲2.01 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.18 ▲0.19 | 42.21 ▲1.37 | 31.27 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,606 ▲63 | 22.28 ▲4.18 | 626.22 ▲2.80 | 48.93 ▲0.64 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.53 ▲0.31 | 101.45 ▼2.06 | 45.46 ▲2.05 |
Aspose Cloud Presentation Importer /wp-admin/options-general.php?page=AsposePptImporterAdminMenu | 939 | 2.19 | 33.02 | 27.79 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/aspose-cloud-presentation-importer/getAsposePptContent.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: appSID in wp-content/plugins/aspose-cloud-presentation-importer/getAsposeFiles.php on line 29
- > PHP Notice
Undefined index: filename in wp-content/plugins/aspose-cloud-presentation-importer/getAsposePptContent.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aspose-cloud-presentation-importer/Aspose_Cloud_Presentation_Importer.php:20
- > PHP Notice
Undefined index: appKey in wp-content/plugins/aspose-cloud-presentation-importer/getAsposePptContent.php on line 32
- > PHP Notice
Undefined index: appKey in wp-content/plugins/aspose-cloud-presentation-importer/getAsposeFiles.php on line 30
- > PHP Fatal error
Uncaught Exception: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 10.0 Detailed Error - 404.18 - Not Found</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 5px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;word-break:break-all;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; font-weight:bold;font-size:1em;} a:link,a:visited{color:#007EFF;font-weight:bold;} a:hover{text-decoration:none;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em in wp-content/plugins/aspose-cloud-presentation-importer/Aspose_Cloud_SDK_For_PHP-master/src/Aspose/Cloud/Common/Utils.php on line 116
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aspose-cloud-presentation-importer/aspose_cloud_presentation_importer_admin.php:12
- > PHP Notice
Undefined index: appSID in wp-content/plugins/aspose-cloud-presentation-importer/getAsposePptContent.php on line 31
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=AsposePptImporterAdminMenu
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/aspose-cloud-presentation-importer/js/aspose_cloud_presentation_importer.js?ver=6.3.1:15:30)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=AsposePptImporterAdminMenu
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/options-general.php?page=AsposePptImporterAdminMenu
- > Network (severe)
wp-content/plugins/aspose-cloud-presentation-importer/getAsposeFiles.php - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Plugin configuration settings), #2 (Post Page with "Aspose Cloud Presentation Importer" button), #3 (Aspose Cloud Presentation Importer popup for selecting whether to read content from local file or aspose cloud file.)
aspose-cloud-presentation-importer/Aspose_Cloud_Presentation_Importer.php 92% from 13 tests
The principal PHP file in "Aspose Cloud Presentation Importer" v. 1.0 is loaded by WordPress automatically on each request
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-cloud-presentation-importer.php" instead of "Aspose_Cloud_Presentation_Importer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,071 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 544 | 682 | 1,525 |
CSS | 1 | 27 | 24 | 407 |
JavaScript | 1 | 20 | 0 | 72 |
Markdown | 1 | 25 | 0 | 46 |
JSON | 1 | 1 | 0 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 8 | 10.13% |
▷ Public methods | 77 | 97.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.53% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_75_dadada_1x400.png | 0.31KB | 0.18KB | ▼ 39.81% |
css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.31KB | 0.18KB | ▼ 39.81% |
css/images/ui-bg_flat_75_ffffff_40x100.png | 0.25KB | 0.11KB | ▼ 55.38% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.25KB | 0.11KB | ▼ 54.83% |
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.32KB | 0.21KB | ▼ 34.34% |