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
Installer ran successfully
Server metrics [RAM: ▼0.40MB] [CPU: ▼14.78ms] Passed 4 tests
A check of server-side resources used by Podlove Web Player
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 40.59 ▼5.26 |
Dashboard /wp-admin | 3.57 ▲0.27 | 45.75 ▼5.27 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 49.90 ▲1.96 |
Add New Post /wp-admin/post-new.php | 3.47 ▼2.41 | 44.68 ▼46.99 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 32.65 ▼1.58 |
Podlove Web Player /wp-admin/options-general.php?page=podlove-web-player-settings | 3.49 | 30.70 |
Server storage [IO: ▲14.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 126 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
podlove-web-player |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Podlove Web Player
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.76 ▼0.81 | 12.35 ▲10.18 | 41.83 ▼3.32 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.02 | 100.98 ▼13.87 | 39.03 ▼5.11 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 38.77 ▲0.88 | 34.08 ▼1.24 |
Add New Post /wp-admin/post-new.php | 6,204 ▲4,660 | 19.40 ▲1.01 | 893.97 ▲243.56 | 56.05 ▲1.71 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▲0.03 | 98.33 ▼0.20 | 42.19 ▼0.33 |
Podlove Web Player /wp-admin/options-general.php?page=podlove-web-player-settings | 1,630 | 13.78 | 459.50 | 99.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=podlove-web-player-settings
- > Notice in wp-content/plugins/podlove-web-player/includes/class-podlove-web-player-admin-api.php+426
Undefined property: WP_Error::$data
SRP 0% from 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 following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/podlove-web-player/admin/partials/podlove-web-player-admin-display.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/podlove-web-player/includes/class-podlove-web-player-activator.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/podlove-web-player/includes/class-podlove-web-player-uninstall.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== podlove-web-player ===
)
podlove-web-player/podlove-web-player.php Passed 13 tests
Analyzing the main PHP file in "Podlove Web Player" version 5.7.1
30 characters long description:
Audio First Podcast Web Player
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,558 lines of code in 86 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 360 | 1,022 | 1,543 |
HTML | 6 | 18 | 1 | 327 |
JSON | 6 | 1 | 0 | 220 |
PO File | 2 | 80 | 82 | 216 |
SVG | 26 | 0 | 0 | 191 |
JavaScript | 23 | 0 | 68 | 31 |
Markdown | 1 | 16 | 0 | 28 |
CSS | 2 | 0 | 2 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 4 | 4.00% |
▷ Public methods | 76 | 76.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 24.00% |
Functions | 10 | |
▷ Named functions | 2 | 20.00% |
▷ Anonymous functions | 8 | 80.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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