Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.00ms] Passed 4 tests
Server-side resources used by LH Logged In Post Status
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.76 ▼4.26 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.06 ▼1.40 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.65 ▲2.82 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.38 ▼1.02 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.42 ▲2.68 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for LH Logged In Post Status
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.17 ▼1.58 | 1.65 ▼0.57 | 42.38 ▼2.75 |
Dashboard /wp-admin | 2,209 ▲21 | 5.88 ▲1.01 | 95.76 ▼16.96 | 37.87 ▼11.55 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.06 ▲0.06 | 40.71 ▲5.05 | 34.75 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,570 ▲57 | 22.93 ▲5.47 | 625.15 ▼14.33 | 69.83 ▲14.97 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.18 ▼0.02 | 94.93 ▼7.72 | 41.29 ▼0.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The SRP test was a success
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 96% from 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: pages, posts, admin, status, workflow
lh-logged-in-post-status/lh-logged-in-post-status.php 92% from 13 tests
The primary PHP file in "LH Logged In Post Status" version 1.09 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin2,224 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 413 | 716 | 1,064 |
PO File | 5 | 329 | 425 | 778 |
JavaScript | 7 | 93 | 43 | 324 |
Markdown | 1 | 25 | 0 | 56 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 30.25 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 40 | |
▷ Static methods | 9 | 22.50% |
▷ Public methods | 35 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.50% |
Functions | 23 | |
▷ Named functions | 23 | 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
There were not PNG files found in your plugin