Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▼0.18MB] [CPU: ▼19.16ms] Passed 4 tests
An overview of server-side resources used by wi_Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.80 ▼0.82 |
Dashboard /wp-admin | 3.13 ▼0.17 | 31.83 ▼21.84 |
Posts /wp-admin/edit.php | 3.26 ▼0.09 | 37.04 ▼16.06 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.43 | 74.10 ▼32.06 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 31.30 ▼6.67 |
wi_post_Placeholder /wp-admin/admin.php?page=placeholder | 3.11 | 25.67 |
wi_Posts /wp-admin/admin.php?page=Post-Menu | 3.11 | 26.23 |
wi_post_Repeater /wp-admin/admin.php?page=repeater | 3.11 | 27.64 |
wi_post_Templates /wp-admin/admin.php?page=templates | 3.11 | 26.84 |
Server storage [IO: ▲0.13MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: 7 new tables, 6 new options
New tables |
---|
wi_post_Content_Repeater |
wi_post_Templates |
wi_post_Content_Repeater_Placeholder |
wi_post_Content |
wi_post_Placeholder |
wi_post_Repeater |
wi_post_Content_Placeholder |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for wi_Posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲46 | 15.06 ▲0.71 | 1.74 ▼0.91 | 43.59 ▼5.16 |
Dashboard /wp-admin | 2,241 ▲61 | 6.36 ▲0.73 | 97.34 ▲8.95 | 42.32 ▼1.32 |
Posts /wp-admin/edit.php | 2,283 ▲180 | 3.47 ▲1.49 | 52.44 ▲10.47 | 36.71 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,557 ▲28 | 23.20 ▲0.08 | 689.61 ▲10.61 | 57.70 ▼2.10 |
Media Library /wp-admin/upload.php | 1,587 ▲187 | 4.99 ▲0.79 | 107.88 ▼2.21 | 41.42 ▼11.05 |
wi_post_Placeholder /wp-admin/admin.php?page=placeholder | 1,201 | 2.93 | 39.58 | 34.24 |
wi_Posts /wp-admin/admin.php?page=Post-Menu | 1,183 | 2.96 | 41.47 | 41.56 |
wi_post_Repeater /wp-admin/admin.php?page=repeater | 1,157 | 2.92 | 37.35 | 28.67 |
wi_post_Templates /wp-admin/admin.php?page=templates | 1,163 | 2.98 | 37.06 | 31.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 7 tables
- wi_post_Templates
- wi_post_Content
- wi_post_Content_Repeater_Placeholder
- wi_post_Repeater
- wi_post_Placeholder
- wi_post_Content_Repeater
- wi_post_Content_Placeholder
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=templates
- > Deprecated in wp-content/plugins/wi-posts/wi_posts.php+62
Function create_function() is deprecated
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=templates
- > User deprecated in wp-includes/functions.php+5453
Function wp_tiny_mce is deprecated since version 3.3.0! Use wp_editor() instead.
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wi-posts/wi_posts.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=templates
- > Network (severe)
https://www.paypalobjects.com/en_DE/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: template, replace, repeater, wiki, post...
wi-posts/wi_posts.php 92% from 13 tests
The primary PHP file in "wi_Posts" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wi-posts.php" instead of "wi_posts.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,051 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 712 | 28 | 1,955 |
PO File | 1 | 39 | 66 | 96 |
PHP code Passed 2 tests
An short overview of 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.33 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected