Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.51ms] Passed 4 tests
Server-side resources used by Beans Simple Edits
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.97 ▼1.48 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.77 ▼6.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.85 ▲1.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 101.57 ▲4.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.98 ▼3.87 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Beans Simple Edits
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.27 ▼1.11 | 4.82 ▲3.21 | 41.42 ▲3.93 |
Dashboard /wp-admin | 2,206 ▲18 | 4.88 ▼1.02 | 113.43 ▲10.85 | 41.60 ▲1.58 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.09 | 40.32 ▲2.10 | 35.00 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.62 ▼5.48 | 673.41 ▲34.26 | 49.84 ▼3.33 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.24 ▼0.01 | 102.34 ▲1.20 | 44.66 ▲1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/beans-simple-edits/beans-simple-edits.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/beans-simple-edits/src/views/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function LearningCurve\\BeansSimpleEdits\\add_action() in wp-content/plugins/beans-simple-edits/src/class-beans-simple-edits.php:109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: post-meta, beans html api, post-info, beans framework, footer
beans-simple-edits/beans-simple-edits.php Passed 13 tests
"Beans Simple Edits" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
139 characters long description:
Beans Simple Edits lets you edit three commonly modified areas in any Beans Child theme: the post-info, the post-meta, and the footer area.
Code Analysis Passed 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
No dangerous file extensions were detected702 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 172 | 236 | 408 |
Markdown | 2 | 67 | 0 | 294 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected