Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/ifttp-wp/inc/plugin-settings.php+24
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▼2.12MB] [CPU: ▼57.89ms] Passed 4 tests
Server-side resources used by If Tag Then Post WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.02 | 46.24 ▲3.09 |
Dashboard /wp-admin | 2.10 ▼1.47 | 6.20 ▼47.40 |
Posts /wp-admin/edit.php | 2.10 ▼1.58 | 7.46 ▼49.78 |
Add New Post /wp-admin/post-new.php | 2.10 ▼4.05 | 6.93 ▼101.74 |
Media Library /wp-admin/upload.php | 2.10 ▼1.39 | 6.42 ▼32.62 |
IFTTP Settings /wp-admin/options-general.php?page=ifttp | 2.10 | 6.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for If Tag Then Post WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.37 ▼0.22 | 1.96 ▲0.19 | 46.39 ▲3.76 |
Dashboard /wp-admin | 2,206 ▲29 | 5.65 ▲0.02 | 85.78 ▼3.84 | 35.55 ▼7.87 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.03 ▲0.03 | 39.57 ▼1.72 | 33.66 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▲1 | 17.68 ▼5.67 | 677.65 ▼12.52 | 61.04 ▲1.86 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.30 ▲0.09 | 112.96 ▲5.73 | 47.02 ▼0.51 |
IFTTP Settings /wp-admin/options-general.php?page=ifttp | 867 | 2.07 | 26.60 | 34.08 |
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
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/ifttp-wp/inc/plugin-settings.php+24
count(): Parameter must be an array or an object that implements Countable
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ifttp
- > Warning in wp-content/plugins/ifttp-wp/inc/plugin-settings.php+24
count(): Parameter must be an array or an object that implements Countable
- 16 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ifttp
- > Notice in wp-content/plugins/ifttp-wp/inc/plugin-settings.php+129
Trying to access array offset on value of type bool
- 28 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ifttp
- > Notice in wp-content/plugins/ifttp-wp/inc/plugin-settings.php+129
Trying to access array offset on value of type null
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ifttp-wp/ifttp-wp.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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 require attention:
- Screenshots: Screenshot #1 (Easily add or remove conditions.) image not found
- Requires at least: Version format is invalid
ifttp-wp/ifttp-wp.php Passed 13 tests
The entry point to "If Tag Then Post WordPress" version 0.1 is a PHP file that has certain tags in its header comment area
91 characters long description:
Lets you create conditional actions, extends the functionality of the WordPress mobile app.
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
No dangerous file extensions were detected168 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 45 | 135 |
JavaScript | 1 | 3 | 3 | 21 |
CSS | 1 | 1 | 0 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 73.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 26.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin