Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.66MB] [CPU: ▲1.44ms] Passed 4 tests
This is a short check of server-side resources used by WPIDE - File Manager & Code Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.64 | 35.70 ▼5.61 |
Dashboard /wp-admin | 3.98 ▲0.68 | 51.70 ▲3.38 |
Posts /wp-admin/edit.php | 4.03 ▲0.68 | 54.54 ▲10.21 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.63 | 97.81 ▼0.06 |
Media Library /wp-admin/upload.php | 3.90 ▲0.68 | 40.84 ▲8.03 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.26 | 36.73 |
Server storage [IO: ▲19.56MB] [DB: ▲0.08MB] 67% from 3 tests
Input-output and database impact of this plugin
Please try to fix the following items
- You have illegally modified 1 file (31.89KB) outside of "wp-content/plugins/wpide/" and "wp-content/uploads/"
- (new file) wp-content/fatal-error-handler.php
Filesystem: 1,376 new files
Database: no new tables, 14 new options
New WordPress options |
---|
wpide_changelog_viewed |
wpide_installed_time |
fs_active_plugins |
wpide_config |
theysaidso_admin_options |
wpide_version |
widget_recent-posts |
can_compress_scripts |
fs_debug_mode |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPIDE - File Manager & Code Editor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲83 | 13.27 ▼1.04 | 1.73 ▼0.46 | 33.42 ▼15.62 |
Dashboard /wp-admin | 2,246 ▲58 | 5.81 ▼0.11 | 99.94 ▼11.34 | 41.74 ▲1.52 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.04 ▲0.05 | 44.32 ▲9.09 | 37.78 ▲5.42 |
Add New Post /wp-admin/post-new.php | 1,538 ▲4 | 23.41 ▲0.20 | 636.82 ▼29.80 | 60.07 ▲6.24 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.27 ▲0.06 | 97.69 ▼0.66 | 43.98 ▲1.77 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,100 | 1.84 | 27.46 | 27.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 14 options in the database
- wpide_dropin_version
- wpide_version
- fs_debug_mode
- fs_accounts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- wpide_changelog_viewed
- wpide_config
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpide/vendor/nikic/php-parser/grammar/rebuildParsers.php
- 686× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\BinaryOp' not found in wp-content/plugins/wpide/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseOr.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\BinaryOp' not found in wp-content/plugins/wpide/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Spaceship.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr' not found in wp-content/plugins/wpide/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/StaticPropertyFetch.php:9
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wpide/vendor/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\AssignOp' not found in wp-content/plugins/wpide/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Minus.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\Cast' not found in wp-content/plugins/wpide/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wpide/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Mime\\Part\\AbstractMultipartPart' not found in wp-content/plugins/wpide/vendor/symfony/mime/Part/Multipart/DigestPart.php:20
- > PHP Warning
file_get_contents(wp-content/plugins/wpide/vendor/nikic/php-parser/grammar/tmp_parser.php): failed to open stream: No such file or directory in wp-content/plugins/wpide/vendor/nikic/php-parser/grammar/rebuildParsers.php on line 48
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\HandlerInterface' not found in wp-content/plugins/wpide/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: code editor, plugin editor, file editor, ide, file manager...
wpide/wpide.php 92% from 13 tests
The main file in "WPIDE - File Manager & Code Editor" v. 3.4.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 238 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected114,059 lines of code in 1,231 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,037 | 21,008 | 42,170 | 96,262 |
CSS | 46 | 119 | 74 | 5,183 |
Sass | 38 | 538 | 92 | 3,188 |
Markdown | 32 | 1,149 | 0 | 3,090 |
JSON | 21 | 0 | 0 | 2,172 |
yacc | 3 | 332 | 12 | 2,029 |
SVG | 6 | 25 | 5 | 1,721 |
JavaScript | 41 | 34 | 82 | 250 |
XML | 6 | 33 | 58 | 163 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 12.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 133 | |
Interfaces | 72 | |
Traits | 18 | |
Classes | 859 | |
▷ Abstract classes | 47 | 5.47% |
▷ Concrete classes | 812 | 94.53% |
▷ Final classes | 47 | 5.79% |
Methods | 5,776 | |
▷ Static methods | 521 | 9.02% |
▷ Public methods | 4,418 | 76.49% |
▷ Protected methods | 708 | 12.26% |
▷ Private methods | 650 | 11.25% |
Functions | 1,426 | |
▷ Named functions | 145 | 10.17% |
▷ Anonymous functions | 1,281 | 89.83% |
Constants | 676 | |
▷ Global constants | 134 | 19.82% |
▷ Class constants | 542 | 80.18% |
▷ Public constants | 523 | 96.49% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/pricing/27b5a722a5553d9de0170325267fccec.png | 6.35KB | 3.38KB | ▼ 46.76% |
dist/pricing/4375c4a3ddc6f637c2ab9a2d7220f91e.png | 9.16KB | 5.26KB | ▼ 42.58% |
dist/img/favicon.png | 23.36KB | 9.58KB | ▼ 58.99% |
dist/pricing/cb5fc4f6ec7ada72e986f6e7dde365bf.png | 22.92KB | 3.42KB | ▼ 85.08% |
dist/pricing/e366d70661d8ad2493bd6afbd779f125.png | 10.86KB | 3.99KB | ▼ 63.26% |