Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/wp-infeed-post/wp-infeed-post.php+90
Methods with the same name as their class will not be constructors in a future version of PHP; WP_Infeed_Post_Widget has a deprecated constructor
Server metrics [RAM: ▼1.71MB] [CPU: ▼50.06ms] Passed 4 tests
Server-side resources used by WP Indeed Post
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.18 | 11.18 ▼29.95 |
Dashboard /wp-admin | 2.29 ▼1.01 | 11.59 ▼41.88 |
Posts /wp-admin/edit.php | 2.29 ▼1.06 | 11.18 ▼39.01 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.59 | 11.30 ▼89.39 |
Media Library /wp-admin/upload.php | 2.29 ▼0.93 | 11.74 ▼25.82 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_wp_infeed_post_widget |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Indeed Post
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲15 | 14.33 ▼0.23 | 1.76 ▼0.02 | 43.74 ▲2.28 |
Dashboard /wp-admin | 2,204 ▲30 | 5.65 ▲0.07 | 95.13 ▲4.84 | 42.50 ▼3.48 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.96 ▼0.01 | 35.74 ▼8.79 | 33.64 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 18.13 ▼4.90 | 658.59 ▲2.64 | 68.43 ▲14.34 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.18 ▼0.05 | 115.32 ▲17.84 | 49.26 ▲3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in WP_Infeed_Post_Widget is deprecated since version 4.3.0! Use __construct() instead.
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_wp_infeed_post_widget
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 fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function query_posts() in wp-content/plugins/wp-infeed-post/views/wp-infeed-post-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/wp-infeed-post/wp-infeed-post.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_url() in wp-content/plugins/wp-infeed-post/views/wp-infeed-post-options.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (2.) image missing
- Donate link: Invalid URI ("")
wp-infeed-post/wp-infeed-post.php Passed 13 tests
This is the main PHP file of "WP Indeed Post" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
75 characters long description:
インフィード広告を挿入可能な新着記事表示プラグイン
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin334 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 23 | 27 | 288 |
CSS | 1 | 5 | 1 | 46 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin