Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼139.31ms] Passed 4 tests
Analyzing server-side resources used by AutomatorWP - WP Ulike integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 35.78 ▲12.74 |
Dashboard /wp-admin | 3.08 ▲0.03 | 40.57 ▼2.64 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 47.98 ▲3.73 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.89 ▼557.88 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 34.17 ▼0.43 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for AutomatorWP - WP Ulike integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,731 ▲135 | 15.81 ▲0.29 | 13.16 ▲4.21 | 43.22 ▼6.59 |
Dashboard /wp-admin | 2,994 ▲63 | 5.92 ▼0.31 | 156.33 ▼1.58 | 108.91 ▼1.98 |
Posts /wp-admin/edit.php | 2,770 ▲31 | 2.73 ▲0.02 | 69.02 ▲3.03 | 89.01 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,634 ▼49 | 21.47 ▲2.74 | 309.29 ▼76.66 | 105.03 ▼2.70 |
Media Library /wp-admin/upload.php | 1,779 ▼28 | 5.03 ▲0.01 | 158.64 ▲7.86 | 124.81 ▲12.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automatorwp-wp-ulike-integration/automatorwp-wp-ulike.php:238
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
5 plugin tags: like, unlike, ulike, favorite, automatorwp
automatorwp-wp-ulike-integration/automatorwp-wp-ulike.php 92% from 13 tests
"AutomatorWP - WP Ulike integration" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("automatorwp-wp-ulike-integration.php" instead of "automatorwp-wp-ulike.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin319 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 84 | 186 | 199 |
SVG | 1 | 1 | 1 | 120 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 10 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 33.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
There are no PNG files in this plugin