Benchmarks
Plugin footprint 83% 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.27MB] [CPU: ▼0.23ms] Passed 4 tests
This is a short check of server-side resources used by WP Basic Elements
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 37.30 ▼1.29 |
Dashboard /wp-admin | 3.66 ▲0.35 | 48.53 ▼3.90 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 53.85 ▲7.81 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.30 | 94.41 ▲0.46 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 38.00 ▲3.83 |
WPB Elements /wp-admin/options-general.php?page=wpbe_settings_page | 3.59 | 34.17 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Basic Elements
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,788 ▲26 | 14.34 ▲0.21 | 1.75 ▲0.10 | 41.34 ▼2.97 |
Dashboard /wp-admin | 2,190 ▲13 | 5.57 ▼0.07 | 91.03 ▼8.38 | 40.18 ▼2.14 |
Posts /wp-admin/edit.php | 2,098 ▼5 | 1.94 ▲0.00 | 40.27 ▲2.44 | 30.82 ▼7.40 |
Add New Post /wp-admin/post-new.php | 1,523 ▼2 | 23.05 ▼0.38 | 640.25 ▼55.74 | 73.69 ▲15.54 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.27 ▲0.10 | 98.78 ▼7.65 | 38.55 ▼5.91 |
WPB Elements /wp-admin/options-general.php?page=wpbe_settings_page | 2,258 | 6.36 | 133.46 | 67.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Settings_Sections_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-sections/class-wpbe-settings-admin-toolbar.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Render_Settings_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-render/class-wpbe-render-core.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Settings_Sections_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-sections/class-wpbe-settings-core.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Render_Settings_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-render/class-wpbe-render-admin-toolbar.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Settings_Sections_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-sections/class-wpbe-settings-profile.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-basic-elements/inc/class-wpbe-settings-sections-fields.php:33
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Render_Settings_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-render/class-wpbe-render-head.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Settings_Sections_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-sections/class-wpbe-settings-head.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Settings_Sections_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-sections/class-wpbe-settings-admin-footer.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPBE_Render_Settings_Fields' not found in wp-content/plugins/wp-basic-elements/inc/settings-render/class-wpbe-render-admin-dashboard.php:9
- > 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 errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Coming soon) image missing
wp-basic-elements/wp-basic-elements.php Passed 13 tests
The principal PHP file in "WP Basic Elements" v. 5.4.3 is loaded by WordPress automatically on each request
88 characters long description:
Disable unnecessary features and speed up your site. Make the WP Admin simple and clean.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,911 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 305 | 1,298 | 1,067 |
PO File | 3 | 270 | 276 | 658 |
CSS | 1 | 25 | 3 | 154 |
JavaScript | 1 | 12 | 15 | 32 |
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.27 |
Average class complexity | 6.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 1 | 0.81% |
▷ Public methods | 123 | 99.19% |
▷ Protected methods | 1 | 0.81% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/favicon-96x96.png | 3.39KB | 2.57KB | ▼ 24.06% |