Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.68MB] [CPU: ▼21.65ms] Passed 4 tests
An overview of server-side resources used by Soundst Hidden Text
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.05 | 27.46 ▼12.43 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.76 ▼5.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.96 ▼1.41 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.76 | 36.55 ▼67.18 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.07 ▲2.83 |
Soundst Hidden Text /wp-admin/options-general.php?page=soundst_hidden_text_submenu_page | 3.22 | 33.49 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
toggle_text_submenu_page |
Browser metrics Passed 4 tests
An overview of browser requirements for Soundst Hidden Text
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.52 ▼1.07 | 8.54 ▲6.96 | 48.26 ▲8.56 |
Dashboard /wp-admin | 2,201 ▲24 | 5.66 ▲0.01 | 95.26 ▲0.76 | 42.18 ▼1.37 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▼0.01 | 35.00 ▼4.66 | 35.60 ▼2.15 |
Add New Post /wp-admin/post-new.php | 6,277 ▲4,747 | 26.04 ▲2.71 | 918.08 ▲319.71 | 67.99 ▲15.65 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.25 ▲0.06 | 96.94 ▲0.74 | 41.11 ▼1.50 |
Soundst Hidden Text /wp-admin/options-general.php?page=soundst_hidden_text_submenu_page | 872 | 2.01 | 23.67 | 25.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- toggle_text_submenu_page
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/soundst-hidden-text/hidden_text.php:11
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid url: "None"
soundst-hidden-text/hidden_text.php 92% from 13 tests
"Soundst Hidden Text" version 0.0.12's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("soundst-hidden-text.php" instead of "hidden_text.php")
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
Success! There were no dangerous files found in this plugin232 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 11 | 192 |
JavaScript | 1 | 1 | 0 | 24 |
CSS | 1 | 2 | 0 | 16 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 8 | |
▷ Named functions | 8 | 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