Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.41ms] Passed 4 tests
Server-side resources used by Show More Toggle Button
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.25 ▼3.52 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.50 ▼5.09 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.50 ▼5.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.61 ▼15.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.28 ▲1.61 |
Show more toggle button /wp-admin/options-general.php?page=show_more_toggle_button | 3.21 | 26.32 |
Server storage [IO: ▲0.01MB] [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 |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Show More Toggle Button
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲152 | 14.00 ▼0.25 | 4.87 ▲2.88 | 36.93 ▼6.24 |
Dashboard /wp-admin | 2,207 ▲52 | 4.88 ▼0.80 | 114.71 ▲4.44 | 42.86 ▲0.07 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▼0.06 | 34.98 ▼2.13 | 30.85 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 23.05 ▲5.55 | 643.86 ▼3.73 | 55.56 ▼2.93 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.20 ▲0.04 | 99.35 ▲3.34 | 43.47 ▲1.02 |
Show more toggle button /wp-admin/options-general.php?page=show_more_toggle_button | 799 | 1.99 | 27.24 | 31.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in show-more-toggle-button/assets to your readme.txt
show-more-toggle-button/show-more-toggle-button.php Passed 13 tests
The primary PHP file in "Show More Toggle Button" version 1.0.4 is used by WordPress to initiate all plugin functionality
61 characters long description:
This is a plugin to make toggle button for show more section.
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 plugin109 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 46 | 75 |
CSS | 1 | 6 | 0 | 25 |
JavaScript | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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