Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼10.71ms] Passed 4 tests
This is a short check of server-side resources used by Foliopress WYSIWYG
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 45.91 ▲5.47 |
Dashboard /wp-admin | 3.71 ▲0.41 | 50.72 ▲1.19 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 47.14 ▼1.10 |
Add New Post /wp-admin/post-new.php | 5.79 ▼0.09 | 74.42 ▼47.50 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.24 ▲4.59 |
Foliopress WYSIWYG /wp-admin/options-general.php?page=fv_wysiwyg | 3.67 | 32.57 |
Server storage [IO: ▲3.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 369 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fp_wysiwyg |
widget_recent-comments |
fv_default_post_edit_rows |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
fp_wysiwyg_version |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Foliopress WYSIWYG
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲117 | 13.67 ▼0.77 | 1.80 ▲0.18 | 42.43 ▼4.95 |
Dashboard /wp-admin | 2,258 ▲73 | 5.02 ▼0.84 | 108.26 ▲10.00 | 42.17 ▼1.38 |
Posts /wp-admin/edit.php | 2,151 ▲59 | 2.52 ▲0.39 | 45.27 ▲2.70 | 36.33 ▲0.57 |
Add New Post /wp-admin/post-new.php | 6,137 ▲4,603 | 24.56 ▲1.32 | 792.72 ▲158.84 | 66.84 ▲11.12 |
Media Library /wp-admin/upload.php | 1,456 ▲65 | 4.44 ▲0.25 | 102.41 ▲2.57 | 40.22 ▼3.99 |
Foliopress WYSIWYG /wp-admin/options-general.php?page=fv_wysiwyg | 1,561 | 2.06 | 36.55 | 28.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- fp_wysiwyg
- db_upgraded
- widget_recent-posts
- fv_default_post_edit_rows
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- fp_wysiwyg_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=fv_wysiwyg
- > Notice in wp-content/plugins/foliopress-wysiwyg/view/options.php+314
Undefined index: image_template
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
The following issues need your attention
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/foliopress-wysiwyg/custom-config/foliopress-editor.php
- > /wp-content/plugins/foliopress-wysiwyg/view/edit.php
- > /wp-content/plugins/foliopress-wysiwyg/fckeditor/editor/plugins/FVWPFlowplayer/fv_wp_flowplayer.php
- > /wp-content/plugins/foliopress-wysiwyg/custom-config/foliopress-wysiwyg-config-js.php
- > /wp-content/plugins/foliopress-wysiwyg/view/message.php
- > /wp-content/plugins/foliopress-wysiwyg/fckeditor/editor/dialog/internal-link.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
file_get_contents(): Filename cannot be empty in wp-content/plugins/foliopress-wysiwyg/view/edit.php on line 4
- > PHP Notice
Undefined variable: strFile in wp-content/plugins/foliopress-wysiwyg/view/edit.php on line 2
- > PHP Notice
Undefined variable: strMessage in wp-content/plugins/foliopress-wysiwyg/view/message.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/foliopress-wysiwyg/view/options.php:2
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/foliopress-wysiwyg/view/recreate.php:8
- > PHP Notice
Undefined variable: strFile in wp-content/plugins/foliopress-wysiwyg/view/edit.php on line 4
- > PHP Warning
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 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:
- Screenshots: These screenshots require images: #1 (Foliopress WYSIWYG default toolbar), #2 (Image Management Window with the insert thumbnail options), #3 (Options screen)
foliopress-wysiwyg/foliopress-wysiwyg.php Passed 13 tests
The primary PHP file in "Foliopress WYSIWYG" version 2.6.17 is used by WordPress to initiate all plugin functionality
61 characters long description:
WYSIWYG FCKEditor with custom Image Management and nice skin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected49,794 lines of code in 195 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 100 | 3,918 | 4,704 | 30,016 |
HTML | 46 | 1,060 | 972 | 11,607 |
CSS | 15 | 551 | 484 | 3,105 |
PHP | 18 | 695 | 985 | 2,824 |
PO File | 3 | 344 | 670 | 858 |
XML | 4 | 34 | 126 | 397 |
ColdFusion | 3 | 45 | 94 | 256 |
Perl | 2 | 43 | 52 | 243 |
ColdFusion CFScript | 1 | 28 | 12 | 192 |
ASP | 1 | 55 | 12 | 176 |
Python | 1 | 21 | 24 | 117 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 62.83 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 247.00 |
Average method complexity | 5.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 80 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 2 | 6.90% |
▷ Class constants | 27 | 93.10% |
▷ Public constants | 27 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
26 PNG files occupy 0.52MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fckeditor/editor/css/images/block_blockquote.png | 0.29KB | 0.14KB | ▼ 50.17% |
screenshot-2.png | 192.06KB | 57.30KB | ▼ 70.16% |
fckeditor/editor/skins/office2003/images/dialog.sides.rtl.png | 0.20KB | 0.19KB | ▼ 4.39% |
fckeditor/editor/skins/silver/images/sprites.png | 3.20KB | 2.21KB | ▼ 30.84% |
fckeditor/editor/skins/office2003/images/dialog.sides.png | 0.20KB | 0.19KB | ▼ 3.45% |