Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.66MB] [CPU: ▼327.72ms] Passed 4 tests
Analyzing server-side resources used by Dropbox Folder Share
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.44 ▲1.32 | 71.36 ▲29.38 |
Dashboard /wp-admin | 4.32 ▲0.91 | 41.18 ▼5.38 |
Posts /wp-admin/edit.php | 4.54 ▲0.90 | 45.04 ▼20.16 |
Add New Post /wp-admin/post-new.php | 6.86 ▼0.11 | 68.77 ▼1,284.77 |
Media Library /wp-admin/upload.php | 4.26 ▲0.97 | 37.60 ▼0.55 |
Dropbox Folder Share /wp-admin/options-general.php?page=dropbox-folder-share | 4.20 | 35.39 |
Server storage [IO: ▲2.87MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 357 new files
Database: no new tables, 2 new options
New WordPress options |
---|
dropbox-folder-share-options |
widget_dropboxfoldersharewidget |
Browser metrics Passed 4 tests
An overview of browser requirements for Dropbox Folder Share
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,004 ▲250 | 18.23 ▲2.84 | 7.23 ▼3.70 | 2.58 ▼1.20 |
Dashboard /wp-admin | 3,133 ▲246 | 7.80 ▲1.23 | 180.55 ▼55.01 | 228.71 ▼15.08 |
Posts /wp-admin/edit.php | 2,903 ▲215 | 4.65 ▲1.22 | 90.99 ▼12.25 | 176.59 ▼56.84 |
Add New Post /wp-admin/post-new.php | 1,794 ▲169 | 23.25 ▲3.70 | 553.80 ▼54.32 | 209.41 ▲1.65 |
Media Library /wp-admin/upload.php | 1,912 ▲217 | 7.08 ▲1.33 | 173.34 ▼20.81 | 275.28 ▲27.44 |
Dropbox Folder Share /wp-admin/options-general.php?page=dropbox-folder-share | 1,977 | 4.97 | 82.54 | 199.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_dropboxfoldersharewidget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dropbox-folder-share/vendor/askupa-software/amarkal-admin-notification/bootstrap.php
- > /wp-content/plugins/dropbox-folder-share/vendor/askupa-software/amarkal-admin-notification/composer.php
- > /wp-content/plugins/dropbox-folder-share/HynoTech/UsosGenerales/js/editor-view.php
- > /wp-content/plugins/dropbox-folder-share/vendor/askupa-software/amarkal-admin-notification/functions.php
- > /wp-content/plugins/dropbox-folder-share/vendor/autoload.php
- > /wp-content/plugins/dropbox-folder-share/dropbox-folder-share.php
- > /wp-content/plugins/dropbox-folder-share/HynoTech/UsosGenerales/js/mce-button-inline.php
- 136× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpKernel\\DataCollector\\DataCollector' not found in wp-content/plugins/dropbox-folder-share/vendor/symfony/translation/DataCollector/TranslationDataCollector.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\MessageCatalogueInterface' not found in wp-content/plugins/dropbox-folder-share/vendor/symfony/translation/MessageCatalogue.php:19
- > PHP Notice
Trying to access array offset on value of type bool in wp-content/plugins/dropbox-folder-share/HynoTech/UsosGenerales/js/mce-button-inline.php on line 11
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\Dumper\\DumperInterface' not found in wp-content/plugins/dropbox-folder-share/vendor/symfony/translation/Dumper/FileDumper.php:25
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/dropbox-folder-share/vendor/symfony/translation/Tests/Writer/TranslationWriterTest.php:19
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/dropbox-folder-share/vendor/symfony/translation/Dumper/PoFileDumper.php:21
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/dropbox-folder-share/vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'TestFixture' not found in wp-content/plugins/dropbox-folder-share/vendor/nesbot/carbon/tests/StartEndOfTest.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\Exception\\ExceptionInterface' not found in wp-content/plugins/dropbox-folder-share/vendor/symfony/translation/Exception/NotFoundResourceException.php:19
- > PHP Fatal error
Uncaught Error: Class 'TestFixture' not found in wp-content/plugins/dropbox-folder-share/vendor/nesbot/carbon/tests/CreateFromFormatTest.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #8 (Insert Gutenberg Block), #9 (Gutenberg Block)
dropbox-folder-share/dropbox-folder-share.php Passed 13 tests
The main file in "Dropbox Folder Share" v. 1.9.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
78 characters long description:
Plugin que permitira incluir carpetas de DropBox en nuestras entradas de blog.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected46,323 lines of code in 290 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 212 | 3,759 | 7,165 | 19,457 |
JSON | 13 | 0 | 0 | 13,930 |
CSS | 9 | 1,083 | 657 | 5,810 |
XSD | 3 | 92 | 48 | 2,803 |
HTML | 1 | 28 | 0 | 1,600 |
PO File | 9 | 247 | 270 | 738 |
Markdown | 9 | 206 | 0 | 732 |
SVG | 2 | 1 | 1 | 590 |
XML | 16 | 5 | 0 | 328 |
JavaScript | 9 | 56 | 84 | 281 |
YAML | 5 | 3 | 0 | 43 |
Qt Linguist | 1 | 0 | 0 | 10 |
INI | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 157)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 157.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 146 | |
▷ Abstract classes | 6 | 4.11% |
▷ Concrete classes | 140 | 95.89% |
▷ Final classes | 1 | 0.71% |
Methods | 1,617 | |
▷ Static methods | 125 | 7.73% |
▷ Public methods | 1,488 | 92.02% |
▷ Protected methods | 58 | 3.59% |
▷ Private methods | 71 | 4.39% |
Functions | 81 | |
▷ Named functions | 48 | 59.26% |
▷ Anonymous functions | 33 | 40.74% |
Constants | 63 | |
▷ Global constants | 21 | 33.33% |
▷ Class constants | 42 | 66.67% |
▷ Public constants | 42 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
22 PNG files occupy 0.44MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/img/hyno-learn-more-bg.png | 0.14KB | 0.11KB | ▼ 15.83% |
src/script/DropBoxFolderShare.png | 0.97KB | 1.16KB | 0.00% |
src/img/HT-Works.png | 8.86KB | 4.82KB | ▼ 45.54% |
src/img/download_dropbox.png | 1.27KB | 0.38KB | ▼ 69.98% |
src/img/logo.png | 3.84KB | 2.14KB | ▼ 44.29% |