Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.62MB] [CPU: ▼34.07ms] Passed 4 tests
Server-side resources used by Cloud Folder Share
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 50.25 ▲1.97 |
Dashboard /wp-admin | 3.32 ▲0.02 | 31.71 ▼26.19 |
Posts /wp-admin/edit.php | 3.32 ▼0.03 | 25.15 ▼26.55 |
Add New Post /wp-admin/post-new.php | 3.32 ▼2.56 | 28.11 ▼72.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 27.11 ▼10.96 |
Cloud Folder Share /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php | 3.32 | 25.88 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 73 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
CFS_cloud |
widget_theysaidso_widget |
widget_recent-comments |
CFS_show_as |
CFS_height |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Cloud Folder Share
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.23 ▼0.12 | 1.98 ▲0.32 | 42.31 ▲1.84 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▲0.02 | 94.99 ▲3.40 | 42.72 ▼0.39 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.01 | 38.16 ▲0.52 | 37.15 ▲2.61 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.22 ▲0.21 | 672.58 ▼28.49 | 49.43 ▼3.19 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.26 ▼0.02 | 101.46 ▼3.83 | 42.71 ▼2.49 |
Cloud Folder Share /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php | 1,122 | 2.02 | 36.95 | 61.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 47 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php
- > Warning in wp-content/plugins/cloud-folder-share/simple_html_dom.php+1365
preg_match(): Compilation failed: invalid range in character class at offset 4
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php
- > Warning in wp-content/plugins/cloud-folder-share/simple_html_dom.php+685
preg_match_all(): Compilation failed: invalid range in character class at offset 4
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php
- > Warning in wp-content/plugins/cloud-folder-share/simple_html_dom.php+692
Invalid argument supplied for foreach()
- > GET request to /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php
- > Notice in wp-content/plugins/cloud-folder-share/drives.php+170
Undefined variable: contenDropbox
- > GET request to /wp-admin/options-general.php?page=cloud-folder-share/cloud-folder-share.php
- > Notice in wp-content/plugins/cloud-folder-share/cloud-folder-share.php+134
Undefined variable: error
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cloud-folder-share/js/CloudFolderShare_tinymce.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cloud-folder-share/js/scripts-hyno.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cloud-folder-share/cloud-folder-share.php:177
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/cloud-folder-share/admin_page.php:4
- > 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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
cloud-folder-share/cloud-folder-share.php Passed 13 tests
Analyzing the main PHP file in "Cloud Folder Share" version 0.1
94 characters long description:
Permite la inclusion de carpetas compartidas en Google Drive, Dropbox en las entrada del Blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected5,877 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 16 | 18 | 2,424 |
PHP | 8 | 279 | 325 | 1,933 |
JavaScript | 4 | 22 | 115 | 1,520 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 92.50 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 1 | 0.99% |
▷ Public methods | 85 | 84.16% |
▷ Protected methods | 16 | 15.84% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 23 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
24 PNG files occupy 0.39MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/msdropdown/icons/Cash-56.png | 3.13KB | 1.93KB | ▼ 38.57% |
img/web_sprites-vfl0GXWGe.png | 241.43KB | 81.34KB | ▼ 66.31% |
img/msdropdown/icons/Mastercard-56.png | 5.58KB | 2.34KB | ▼ 58.12% |
img/icons/skydrive.png | 1.72KB | 0.58KB | ▼ 66.36% |
img/msdropdown/icons/flagssprite_small.png | 70.15KB | 25.86KB | ▼ 63.14% |