Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲1.46ms] Passed 4 tests
This is a short check of server-side resources used by Selection Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 39.61 ▼0.36 |
Dashboard /wp-admin | 3.86 ▲0.55 | 51.15 ▼2.50 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 52.58 ▲3.56 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 94.08 ▲5.12 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 38.56 ▲5.23 |
Server storage [IO: ▲2.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 187 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Selection Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.30 ▼1.08 | 1.73 ▼0.28 | 41.29 ▼4.90 |
Dashboard /wp-admin | 2,243 ▲58 | 4.86 ▼0.05 | 119.26 ▲5.90 | 44.13 ▲0.22 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.01 ▼0.00 | 41.27 ▲2.31 | 35.77 ▲2.40 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 22.99 ▼0.27 | 620.82 ▼29.22 | 52.79 ▼10.93 |
Media Library /wp-admin/upload.php | 1,428 ▲46 | 4.27 ▲0.05 | 105.12 ▲2.33 | 42.44 ▼2.27 |
Uninstaller [IO: ▲2.49MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attentionThis plugin did not uninstall successfully, leaving 7 options in the database
- The plugin did not uninstall gracefully
- > Compile error in wp-content/plugins/selection-lite/src/autoload.php+29
Cannot declare class Merkulove\SelectionLite\Autoload, because the name is already in use
- This plugin has failed uninstalling correctly, leaving 187 files (2.49MB) in the plugin directory
- (new file) css/admin.min.css
- (new file) css/admin.css
- (new file) css/crumber-elementor.min.css
- (new file) changelog.md
- (new file) css/crawler-elementor.css
- (new file) css/elementor-admin.css
- (new file) css/crumber-elementor.css
- (new file) css/crawler-elementor.min.css
- (new file) css/buttoner-elementor.css
- (new file) css/buttoner-elementor.min.css
- ...
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== selection-lite ===
) - Tags: Please delete some tags, you are using 15 tag instead of maximum 10
selection-lite/selection-lite.php 92% from 13 tests
"Selection Lite" version 1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected31,908 lines of code in 185 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 4,121 | 6,406 | 17,203 |
CSS | 26 | 1,035 | 798 | 12,530 |
Sass | 12 | 315 | 37 | 983 |
JavaScript | 12 | 213 | 624 | 767 |
SVG | 90 | 0 | 1 | 398 |
Markdown | 1 | 26 | 0 | 27 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 25.16 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 1 | 2.33% |
▷ Concrete classes | 42 | 97.67% |
▷ Final classes | 25 | 59.52% |
Methods | 573 | |
▷ Static methods | 49 | 8.55% |
▷ Public methods | 305 | 53.23% |
▷ Protected methods | 41 | 7.16% |
▷ Private methods | 227 | 39.62% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin