Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/narando/Narando_Plugin.php+92
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▲0.02MB] [CPU: ▼12.12ms] Passed 4 tests
A check of server-side resources used by narando
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.08 ▼3.01 |
Dashboard /wp-admin | 3.34 ▼0.01 | 44.22 ▼18.71 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 44.17 ▼3.99 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 79.85 ▼22.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.32 ▼2.30 |
narando /wp-admin/plugins.php?page=Narando_PluginSettings | 3.23 | 33.30 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 43 new options
New WordPress options |
---|
Narando_Plugin_NRButtonPlayeriFrameContainerColor |
Narando_Plugin_NRColorText |
Narando_Plugin_NRButtonPlayerFrameColor |
Narando_Plugin_NRPlayerMode |
Narando_Plugin_NRButtonPlayerFloating |
Narando_Plugin_NRButtonPlayerAutoplay |
Narando_Plugin_NRAutoplay |
Narando_Plugin_NRButtonBackgroundColor |
Narando_Plugin_NRButtonPlayerBackgroundColor |
Narando_Plugin_NRButtonPlayerTextColor |
... |
Browser metrics Passed 4 tests
A check of browser resources used by narando
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 14.85 ▲0.44 | 6.12 ▲4.55 | 44.68 ▲3.94 |
Dashboard /wp-admin | 2,213 ▲25 | 5.79 ▲0.91 | 94.15 ▼11.62 | 38.16 ▼6.84 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.01 | 35.35 ▼3.69 | 29.83 ▼4.22 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 23.42 ▲0.46 | 672.82 ▲68.35 | 77.80 ▲20.55 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.23 ▲0.02 | 96.59 ▼4.47 | 41.26 ▼2.28 |
narando /wp-admin/plugins.php?page=Narando_PluginSettings | 1,656 | 2.44 | 35.18 | 79.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 43 options in the database
- Narando_Plugin_NRButtonPlayerHideListens
- Narando_Plugin_NRButtonBorderRadius
- Narando_Plugin_NRHideSpeaker
- Narando_Plugin_NRButtonPlayerVersion
- Narando_Plugin_NRButtonPlayerControlsColor
- Narando_Plugin_NRButtonBackgroundColorHover
- Narando_Plugin_NRButtonPlayerFloating
- Narando_Plugin_NRButtonPlayerHideSpeaker
- Narando_Plugin_NRPlayerRadius
- Narando_Plugin_NRPlayerMode
- ...
Smoke tests 50% from 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/narando/narando.php
- > /wp-content/plugins/narando/Narando_InstallIndicator.php
- > /wp-content/plugins/narando/Narando_LifeCycle.php
- > /wp-content/plugins/narando/Narando_PlayerShortCode.php
- > /wp-content/plugins/narando/Narando_Plugin.php
- > /wp-content/plugins/narando/Narando_ShortCodeLoader.php
- > /wp-content/plugins/narando/Narando_OptionsManager.php
- > /wp-content/plugins/narando/Narando_ShortCodeScriptLoader.php
- > /wp-content/plugins/narando/narando_init.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/plugins.php?page=Narando_PluginSettings
- > Network (severe)
wp-content/plugins/narando/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/plugins.php?page=Narando_PluginSettings
- > Network (severe)
wp-content/plugins/narando/css/images/ui-bg_glass_65_ffffff_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/plugins.php?page=Narando_PluginSettings
- > Network (severe)
wp-content/plugins/narando/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: articles, web player, narrator, news, audio
narando/narando.php Passed 13 tests
"narando" version 1.12's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
132 characters long description:
Lass dir interessante Artikel vorlesen. Lausche den Stimmen echter Vorleser während du fährst, trainierst, kochst oder aufräumst.
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 plugin1,456 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 286 | 766 | 1,073 |
CSS | 1 | 31 | 152 | 383 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 19.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 2 | 28.57% |
▷ Concrete classes | 5 | 71.43% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 57 | 67.06% |
▷ Protected methods | 28 | 32.94% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin