Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.57ms] Passed 4 tests
An overview of server-side resources used by WordPress Wiki That Doesn't Suck
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.78 ▼3.34 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.74 ▼0.38 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 39.98 ▼4.27 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 98.02 ▼10.53 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 32.85 ▼4.13 |
Post New Wiki /wp-admin/post-new.php?post_type=wpwtds_article | 3.43 | 49.23 |
Wiki != suck /wp-admin/edit.php?post_type=wpwtds_article | 3.34 | 36.29 |
Sections /wp-admin/edit-tags.php?taxonomy=wiki_section&post_type=wpwtds_article | 3.29 | 36.41 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WordPress Wiki That Doesn't Suck: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲83 | 13.17 ▼1.20 | 2.38 ▲0.05 | 50.40 ▼7.15 |
Dashboard /wp-admin | 2,243 ▲55 | 5.91 ▲0.03 | 115.52 ▼13.87 | 43.29 ▼13.75 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.04 ▼0.02 | 38.36 ▲2.02 | 32.48 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,568 ▲40 | 23.39 ▲5.05 | 617.89 ▼76.45 | 49.90 ▼15.11 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.23 ▲0.15 | 98.76 ▼15.52 | 43.85 ▼7.12 |
Post New Wiki /wp-admin/post-new.php?post_type=wpwtds_article | 2,699 | 9.02 | 206.80 | 73.50 |
Wiki != suck /wp-admin/edit.php?post_type=wpwtds_article | 1,098 | 1.95 | 36.90 | 32.98 |
Sections /wp-admin/edit-tags.php?taxonomy=wiki_section&post_type=wpwtds_article | 1,302 | 2.14 | 29.95 | 31.67 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wordpress-wiki-that-doesnt-suck/wpwtds.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wordpress-wiki-that-doesnt-suck/templates/wiki.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wordpress-wiki-that-doesnt-suck/templates/single-wpwtds_article.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: wiki, support, custom post types
wordpress-wiki-that-doesnt-suck/wpwtds.php 92% from 13 tests
This is the main PHP file of "WordPress Wiki That Doesn't Suck" version 0.9.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wordpress-wiki-that-doesnt-suck.php" instead of "wpwtds.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected241 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 32 | 115 | 241 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpwtds.png | 2.74KB | 1.63KB | ▼ 40.41% |
images/wiki.png | 1.66KB | 0.83KB | ▼ 49.85% |