Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.08MB] [CPU: ▼10.81ms] Passed 4 tests
An overview of server-side resources used by Memberlite Elements
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.08 ▼1.11 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.00 ▲2.69 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.85 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 76.12 ▼39.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.74 ▼2.24 |
Custom Sidebars /wp-admin/themes.php?page=memberlite-custom-sidebars | 3.22 | 32.03 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Memberlite Elements
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲141 | 13.96 ▼0.35 | 5.50 ▲3.14 | 42.86 ▼3.03 |
Dashboard /wp-admin | 2,225 ▲22 | 5.88 ▲1.00 | 103.35 ▼3.85 | 38.75 ▼4.66 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▼0.03 | 36.00 ▼3.99 | 34.67 ▼2.21 |
Add New Post /wp-admin/post-new.php | 6,291 ▲4,737 | 18.78 ▲0.68 | 906.65 ▲285.46 | 54.74 ▼2.01 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.18 ▼0.07 | 111.39 ▲8.16 | 46.11 ▲0.07 |
Custom Sidebars /wp-admin/themes.php?page=memberlite-custom-sidebars | 868 | 2.05 | 28.15 | 44.88 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% 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 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
Please take a closer look at the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/memberlite-elements/elements/page_banners.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/memberlite-elements/memberlite-elements.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/memberlite-elements/elements/functions.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/memberlite-elements/elements/landing_page.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/memberlite-elements/elements/sidebars.php:14
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Page editor with the Memberlite Elements metabox for banner settings.), #2 (Admin page under Appearance > Custom Sidebars.)
memberlite-elements/memberlite-elements.php Passed 13 tests
The main PHP file in "Memberlite Elements" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
86 characters long description:
A set of elements designed enhance the appearance of sites using the Memberlite Theme.
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
Success! There were no dangerous files found in this plugin1,271 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 170 | 230 | 1,085 |
PO File | 1 | 57 | 62 | 135 |
CSS | 2 | 1 | 8 | 32 |
JavaScript | 1 | 3 | 12 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin