Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.65ms] Passed 4 tests
Server-side resources used by WP Talks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.05 ▲0.31 |
Dashboard /wp-admin | 3.44 ▲0.09 | 48.86 ▼15.67 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.76 ▼3.65 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 91.14 ▼7.59 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.55 ▲3.16 |
Add New Talk /wp-admin/post-new.php?post_type=wp_talks | 3.51 | 58.14 |
Services /wp-admin/edit-tags.php?taxonomy=wp_talks_service&post_type=wp_talks | 3.36 | 34.45 |
Talks /wp-admin/edit.php?post_type=wp_talks | 3.40 | 34.84 |
Add New Talk Series /wp-admin/post-new.php?post_type=wp_talk_series | 3.48 | 46.11 |
Speakers /wp-admin/edit-tags.php?taxonomy=wp_talks_speaker&post_type=wp_talks | 3.36 | 35.99 |
Talk Series /wp-admin/edit.php?post_type=wp_talk_series | 3.40 | 35.31 |
Topics /wp-admin/edit-tags.php?taxonomy=wp_talks_topic&post_type=wp_talks | 3.35 | 33.30 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Talks: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲135 | 13.30 ▼1.01 | 4.60 ▲2.92 | 42.18 ▲3.32 |
Dashboard /wp-admin | 2,277 ▲86 | 5.85 ▲0.97 | 104.66 ▲5.50 | 43.92 ▲0.64 |
Posts /wp-admin/edit.php | 2,160 ▲71 | 2.01 ▲0.00 | 33.87 ▼1.05 | 34.48 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,588 ▲68 | 23.11 ▼0.15 | 674.05 ▲34.55 | 57.73 ▲6.24 |
Media Library /wp-admin/upload.php | 1,456 ▲68 | 4.24 ▲0.08 | 92.92 ▼4.38 | 42.20 ▲0.57 |
Add New Talk /wp-admin/post-new.php?post_type=wp_talks | 2,649 | 7.99 | 179.42 | 68.22 |
Services /wp-admin/edit-tags.php?taxonomy=wp_talks_service&post_type=wp_talks | 1,330 | 2.15 | 26.17 | 28.10 |
Talks /wp-admin/edit.php?post_type=wp_talks | 1,170 | 1.96 | 31.51 | 32.26 |
Add New Talk Series /wp-admin/post-new.php?post_type=wp_talk_series | 2,260 | 7.63 | 156.90 | 53.72 |
Speakers /wp-admin/edit-tags.php?taxonomy=wp_talks_speaker&post_type=wp_talks | 1,333 | 2.15 | 27.78 | 26.75 |
Talk Series /wp-admin/edit.php?post_type=wp_talk_series | 1,130 | 2.00 | 30.70 | 29.09 |
Topics /wp-admin/edit-tags.php?taxonomy=wp_talks_topic&post_type=wp_talks | 1,302 | 2.15 | 25.61 | 26.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-talks/sample-templates/single-wp_talks.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_part() in wp-content/plugins/wp-talks/sample-templates/taxonomy-wp_talks_topic.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_part() in wp-content/plugins/wp-talks/sample-templates/taxonomy-wp_talks_speaker.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-talks/sample-templates/archive-wp_talks.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_part() in wp-content/plugins/wp-talks/sample-templates/taxonomy-wp_talks_service.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-talks/wp-talks.php:137
- > 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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== wp-talks ===
)
wp-talks/wp-talks.php 92% from 13 tests
"WP Talks" version 0.2.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 167 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
Good job! No executable or dangerous file extensions detected521 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 87 | 118 | 456 |
CSS | 1 | 0 | 1 | 65 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 1 | 100.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 11 | 78.57% |
▷ Anonymous functions | 3 | 21.43% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/talks-menu-icon.png | 48.42KB | 0.44KB | ▼ 99.09% |