Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.57ms] Passed 4 tests
An overview of server-side resources used by Rabbit Lyrics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.55 ▼0.15 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.01 ▼2.43 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.88 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.51 ▼11.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.23 ▲3.07 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Rabbit Lyrics: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.29 ▼1.46 | 3.05 ▲1.44 | 45.76 ▲5.80 |
Dashboard /wp-admin | 2,208 ▲17 | 5.86 ▼0.05 | 106.17 ▲4.02 | 40.88 ▲0.20 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.05 ▲0.07 | 39.83 ▲0.82 | 35.87 ▼1.09 |
Add New Post /wp-admin/post-new.php | 6,360 ▲4,841 | 27.70 ▲4.18 | 833.40 ▲189.33 | 35.88 ▼28.74 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.21 ▲0.01 | 96.98 ▼5.05 | 41.84 ▼3.94 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rabbit-lyrics/rabbit-lyrics.php:101
- > 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #3 (Karaoke lyrics.), #4 (Audio books.)
rabbit-lyrics/rabbit-lyrics.php Passed 13 tests
Analyzing the main PHP file in "Rabbit Lyrics" version 0.1.0
47 characters long description:
JavaScript audio and timed lyrics synchronizer.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected257 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 18 | 105 | 121 |
PHP | 3 | 10 | 20 | 73 |
CSS | 3 | 7 | 0 | 32 |
JSON | 1 | 0 | 0 | 16 |
Sass | 2 | 2 | 0 | 15 |
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.16 |
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 | 1 | |
▷ Named functions | 1 | 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
No PNG files were detected