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.71MB] [CPU: ▲4.04ms] Passed 4 tests
This is a short check of server-side resources used by Podiant
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.20 ▲0.74 | 44.53 ▲2.58 |
Dashboard /wp-admin | 4.01 ▲0.71 | 54.43 ▼1.80 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 54.06 ▲6.80 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.72 | 104.23 ▲15.13 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 40.59 ▲8.56 |
All Episodes /wp-admin/edit.php?post_type=episode | 3.98 | 45.83 |
Settings /wp-admin/edit.php?post_type=episode&page=settings | 3.91 | 36.40 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 54 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_podiant_player_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_podiant_latest_episode_player_widget |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Podiant
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲221 | 13.64 ▼0.73 | 7.75 ▲5.93 | 39.23 ▼12.74 |
Dashboard /wp-admin | 2,256 ▲68 | 4.83 ▼0.05 | 99.17 ▼15.81 | 83.78 ▲37.50 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.01 ▼0.03 | 38.66 ▲2.95 | 32.06 ▼2.92 |
Add New Post /wp-admin/post-new.php | 6,409 ▲4,895 | 28.08 ▲10.66 | 925.01 ▲243.27 | 33.83 ▼23.24 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.20 ▼0.02 | 96.91 ▼2.02 | 77.17 ▲32.10 |
All Episodes /wp-admin/edit.php?post_type=episode | 1,155 | 1.95 | 32.71 | 26.46 |
Settings /wp-admin/edit.php?post_type=episode&page=settings | 967 | 2.03 | 26.70 | 26.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_podiant_player_widget
- widget_podiant_latest_episode_player_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/podiant/admin/views/notice.php
- > /wp-content/plugins/podiant/admin/views/tabs.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: tabs in wp-content/plugins/podiant/admin/views/tabs.php on line 2
- > PHP Notice
Undefined variable: kind in wp-content/plugins/podiant/admin/views/notice.php on line 1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/podiant/admin/views/tabs.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/podiant/admin/views/sync_disabled.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Background_Process' not found in wp-content/plugins/podiant/includes/class-podiant-action-queue.php:24
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/podiant/includes/class-podiant-player-widget.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/podiant/admin/views/permalinks.php:5
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/media.php' (include_path='.:/usr/share/php') in wp-content/plugins/podiant/includes/class-podiant-download.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/podiant/admin/views/display.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/podiant/includes/class-podiant-download.php on line 12
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: podcasting
podiant/podiant.php Passed 13 tests
"Podiant" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
54 characters long description:
Sync your Podiant podcasts with your WordPress website
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 plugin3,609 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 1,047 | 2,215 | 3,587 |
JavaScript | 3 | 2 | 28 | 13 |
CSS | 1 | 2 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 20.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 2 | 7.41% |
▷ Concrete classes | 25 | 92.59% |
▷ Final classes | 0 | 0.00% |
Methods | 208 | |
▷ Static methods | 15 | 7.21% |
▷ Public methods | 112 | 53.85% |
▷ Protected methods | 81 | 38.94% |
▷ Private methods | 15 | 7.21% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 18 | |
▷ Global constants | 17 | 94.44% |
▷ Class constants | 1 | 5.56% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 1.63KB | 1.64KB | 0.00% |