Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼292.93ms] Passed 4 tests
Server-side resources used by Action Runner by The Rite Sites
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 53.50 ▲4.65 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.50 ▼2.11 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.43 ▼0.43 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.08 | 94.48 ▼1,164.73 |
Media Library /wp-admin/upload.php | 3.30 ▼0.00 | 25.19 ▼4.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Action Runner by The Rite Sites
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲21 | 15.89 ▲0.23 | 5.58 ▼0.48 | 2.38 ▲0.27 |
Dashboard /wp-admin | 2,885 ▲27 | 6.15 ▼0.14 | 119.27 ▼14.85 | 153.58 ▼10.14 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.23 ▼0.00 | 62.18 ▼2.59 | 136.30 ▼5.82 |
Add New Post /wp-admin/post-new.php | 1,760 ▲43 | 22.79 ▲1.00 | 416.04 ▼10.22 | 151.57 ▲3.14 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.50 ▼0.00 | 138.84 ▲2.22 | 183.06 ▼4.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Requires php: Invalid plugin version format
action-runner/action-runner-by-the-rite-sites.php 77% from 13 tests
Analyzing the main PHP file in "Action Runner by The Rite Sites" version 1.0.0
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("action-runner.php" instead of "action-runner-by-the-rite-sites.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected119 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 54 | 192 | 119 |
PHP code Passed 2 tests
This is a short overview 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.49 |
Average class complexity | 5.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 8 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 33.33% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected