Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/front-end-editor/php/fields/post.php+182
Declaration of FEE_Field_Terms::wrap($content, $taxonomy, $before, $sep, $after) should be compatible with FEE_Field_Post::wrap($content, $post_id = 0)
Server metrics [RAM: ▼1.84MB] [CPU: ▼54.58ms] Passed 4 tests
An overview of server-side resources used by Front-end Editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.80 ▼28.45 |
Dashboard /wp-admin | 2.16 ▼1.14 | 7.64 ▼36.96 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 8.96 ▼50.33 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.72 | 6.80 ▼91.71 |
Media Library /wp-admin/upload.php | 2.16 ▼1.06 | 9.56 ▼39.30 |
Front-end Editor /wp-admin/options-general.php?page=front-end-editor | 2.17 | 10.80 |
Server storage [IO: ▲20.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 1,538 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Front-end Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,856 ▲2,085 | 22.49 ▲8.19 | 203.30 ▲201.33 | 57.66 ▲16.06 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.01 | 100.43 ▼43.08 | 41.52 ▼16.44 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.05 | 34.78 ▼21.92 | 32.26 ▼17.03 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.26 ▼4.81 | 636.56 ▼103.08 | 54.55 ▼2.77 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.27 ▲0.04 | 101.23 ▼17.87 | 42.67 ▼10.65 |
Front-end Editor /wp-admin/options-general.php?page=front-end-editor | 1,263 | 2.29 | 45.93 | 33.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/front-end-editor/php/fields/post.php+182
Declaration of FEE_Field_Terms::wrap($content, $taxonomy, $before, $sep, $after) should be compatible with FEE_Field_Post::wrap($content, $post_id = 0)
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/post.php+182
Declaration of FEE_Field_Terms::wrap($content, $taxonomy, $before, $sep, $after) should be compatible with FEE_Field_Post::wrap($content, $post_id = 0)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/post.php+281
Declaration of FEE_Field_Tags::wrap($content, $before, $sep, $after) should be compatible with FEE_Field_Terms::wrap($content, $taxonomy, $before, $sep, $after)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/post.php+290
Declaration of FEE_Field_Category::wrap($content, $sep, $parents) should be compatible with FEE_Field_Terms::wrap($content, $taxonomy, $before, $sep, $after)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/post.php+299
Declaration of FEE_Field_Post_Thumbnail::wrap($html, $post_id, $post_thumbnail_id, $size) should be compatible with FEE_Field_Post::wrap($content, $post_id = 0)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/post.php+352
Declaration of FEE_Field_Post_Meta::wrap($data, $post_id, $key, $ui, $single) should be compatible with FEE_Field_Post::wrap($content, $post_id = 0)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/widget.php+10
Declaration of FEE_Field_Widget::wrap($params) should be compatible with FEE_Field_Base::wrap($content, $data)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/other.php+10
Declaration of FEE_Field_Comment::wrap($content) should be compatible with FEE_Field_Base::wrap($content, $data)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/other.php+70
Declaration of FEE_Field_Term_Field::wrap($content, $term_id, $taxonomy) should be compatible with FEE_Field_Base::wrap($content, $data)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/other.php+115
Declaration of FEE_Field_Single_Title::wrap($title) should be compatible with FEE_Field_Term_Field::wrap($content, $term_id, $taxonomy)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > POST request to /wp-cron.php?doing_wp_cron=1696396187.1515920162200927734375
- > Warning in wp-content/plugins/front-end-editor/php/fields/other.php+231
Declaration of FEE_Field_Option::wrap($content, $key, $ui) should be compatible with FEE_Field_Base::wrap($content, $data)
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=front-end-editor
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'FEE_Field_Base' not found in wp-content/plugins/front-end-editor/php/fields/post.php:3
- > PHP Fatal error
Uncaught Error: Class 'FEE_Field_Base' not found in wp-content/plugins/front-end-editor/php/fields/other.php:4
- > PHP Fatal error
Uncaught Error: Class 'FEE_Field_Base' not found in wp-content/plugins/front-end-editor/php/fields/widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/front-end-editor/lib/scb/load.php:32
- > PHP Fatal error
Uncaught Error: Class 'scbAdminPage' not found in wp-content/plugins/front-end-editor/lib/scb/BoxesPage.php:5
- > PHP Fatal error
Uncaught Error: Class 'scbBoxesPage' not found in wp-content/plugins/front-end-editor/admin/admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/front-end-editor/lib/scb/Widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/front-end-editor/test.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: inline, visual, editor, wysiwyg, edit-in-place
front-end-editor/front-end-editor.php Passed 13 tests
The primary PHP file in "Front-end Editor" version 2.3.1 is used by WordPress to initiate all plugin functionality
71 characters long description:
Allows you to edit your posts without going through the admin interface
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
Success! There were no dangerous files found in this plugin319,969 lines of code in 340 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 233 | 58,569 | 116,679 | 311,059 |
CSS | 41 | 322 | 602 | 3,205 |
PHP | 22 | 1,146 | 1,465 | 3,087 |
PO File | 23 | 1,451 | 2,414 | 2,266 |
Markdown | 10 | 74 | 0 | 208 |
JSON | 9 | 4 | 0 | 92 |
HTML | 2 | 6 | 0 | 52 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 8 | 18.18% |
▷ Concrete classes | 36 | 81.82% |
▷ Final classes | 0 | 0.00% |
Methods | 329 | |
▷ Static methods | 88 | 26.75% |
▷ Public methods | 248 | 75.38% |
▷ Protected methods | 63 | 19.15% |
▷ Private methods | 18 | 5.47% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 15 | |
▷ Global constants | 3 | 20.00% |
▷ Class constants | 12 | 80.00% |
▷ Public constants | 12 | 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
938 compressed PNG files occupy 0.60MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/aloha-editor/plugins/extra/flag-icons/img/flags/dm.png | 0.50KB | 0.68KB | 0.00% |
lib/aloha-editor/plugins/extra/flag-icons/img/flags/hm.png | 0.57KB | 0.75KB | 0.00% |
lib/aloha-editor/plugins/extra/linkbrowser/img/flags/wf.png | 0.43KB | 0.65KB | 0.00% |
lib/aloha-editor/plugins/extra/linkbrowser/img/flags/gh.png | 0.33KB | 0.68KB | 0.00% |
lib/aloha-editor/plugins/extra/linkbrowser/img/flags/lu.png | 0.33KB | 0.67KB | 0.00% |