Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.93MB] [CPU: ▼33.55ms] Passed 4 tests
Analyzing server-side resources used by Podcast Searcher by Clarify
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.80 ▼5.41 |
Dashboard /wp-admin | 3.02 ▼0.29 | 24.30 ▼24.60 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 22.63 ▼23.65 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 22.83 ▼73.03 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 22.88 ▼12.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Podcast Searcher by Clarify
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲153 | 13.71 ▼0.53 | 4.89 ▲3.02 | 37.83 ▼5.97 |
Dashboard /wp-admin | 2,218 ▲27 | 5.90 ▲0.01 | 96.66 ▼6.89 | 38.37 ▼5.08 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.03 ▼0.01 | 39.30 ▲2.57 | 35.27 ▲3.30 |
Add New Post /wp-admin/post-new.php | 1,545 ▲8 | 18.36 ▼4.82 | 594.93 ▼82.98 | 49.74 ▼11.39 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.20 ▲0.03 | 99.86 ▼10.20 | 42.11 ▼4.69 |
Clarify /wp-admin/clarify.php | 26 | 0.44 | 0.09 | 13.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- 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
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 take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/podcast-searcher-by-clarify/wp-clarify.php:29
- > PHP Fatal error
Uncaught Error: Class 'Clarify_API_Base' not found in wp-content/plugins/podcast-searcher-by-clarify/lib/class.search.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/clarify.php
- > Network (severe)
wp-admin/clarify.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Tags: There are too many tags (26 tag instead of maximum 10)
podcast-searcher-by-clarify/wp-clarify.php 85% from 13 tests
The main file in "Podcast Searcher by Clarify" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("podcast-searcher-by-clarify.php" instead of "wp-clarify.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 173 characters long)
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
Everything looks great! No dangerous files found in this plugin432 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 127 | 433 | 410 |
JSON | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 7.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 29 | 96.67% |
▷ Protected methods | 1 | 3.33% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin