Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.30MB] [CPU: ▼154.39ms] Passed 4 tests
A check of server-side resources used by Simplecast Episodes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 37.67 ▲11.28 |
Dashboard /wp-admin | 3.10 ▲0.05 | 47.77 ▲1.11 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 48.74 ▼2.55 |
Add New Post /wp-admin/post-new.php | 4.09 ▼1.35 | 47.97 ▼618.03 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 36.49 ▲1.93 |
Add New /wp-admin/post-new.php?post_type=simplecast-episodes | 2.98 | 36.19 |
Tags /wp-admin/edit-tags.php?taxonomy=topic&post_type=simplecast-episodes | 3.04 | 29.19 |
Settings /wp-admin/edit.php?post_type=simplecast-episodes&page=simplecast-epsiodes/simplecast-options-page.php | 3.02 | 31.28 |
Episodes /wp-admin/edit.php?post_type=simplecast-episodes | 3.09 | 36.38 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Simplecast Episodes: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,752 ▲156 | 15.80 ▲0.21 | 8.25 ▼0.51 | 51.43 ▼4.09 |
Dashboard /wp-admin | 3,015 ▲81 | 5.85 ▼0.27 | 147.81 ▼17.77 | 104.01 ▼20.62 |
Posts /wp-admin/edit.php | 2,784 ▲45 | 2.70 ▲0.00 | 67.61 ▲0.10 | 93.33 ▼3.15 |
Add New Post /wp-admin/post-new.php | 1,623 ▼60 | 18.73 ▼0.05 | 388.90 ▼15.59 | 112.30 ▼4.91 |
Media Library /wp-admin/upload.php | 1,852 ▲45 | 5.03 ▼0.00 | 152.76 ▼18.20 | 122.44 ▼6.89 |
Add New /wp-admin/post-new.php?post_type=simplecast-episodes | 3,339 | 9.24 | 222.91 | 150.18 |
Tags /wp-admin/edit-tags.php?taxonomy=topic&post_type=simplecast-episodes | 1,756 | 2.51 | 65.33 | 87.95 |
Settings /wp-admin/edit.php?post_type=simplecast-episodes&page=simplecast-epsiodes/simplecast-options-page.php | 1,248 | 2.22 | 58.71 | 75.35 |
Episodes /wp-admin/edit.php?post_type=simplecast-episodes | 1,477 | 2.63 | 67.81 | 81.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=simplecast-episodes
- > Notice in wp-content/plugins/simplecast-epsiodes/simplecast.php+126
Undefined index: sc_meta_nonce2
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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplecast-epsiodes/simplecast-options-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/simplecast-epsiodes/simplecast.php:20
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (The \"Add Episode\" admin screen), #2 (The Podcast Settings admin screen), #3 (A sample frontend screen)
simplecast-epsiodes/simplecast.php 92% from 13 tests
The main PHP file in "Simplecast Episodes" ver. 0.6.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("simplecast-epsiodes.php" instead of "simplecast.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin245 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 84 | 31 | 245 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.25MB with 0.16MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
2.png | 57.13KB | 18.45KB | ▼ 67.70% |
3.png | 63.30KB | 21.68KB | ▼ 65.75% |
1.png | 130.70KB | 41.92KB | ▼ 67.92% |