Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼295.73ms] Passed 4 tests
An overview of server-side resources used by Pinba Script Name Fix
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 52.63 ▲1.66 |
Dashboard /wp-admin | 3.42 ▲0.00 | 33.02 ▼3.39 |
Posts /wp-admin/edit.php | 3.65 ▲0.00 | 36.38 ▼1.29 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.09 | 90.49 ▼1,179.89 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.34 ▲1.81 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Pinba Script Name Fix
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 16.15 ▲0.20 | 5.84 ▼0.48 | 2.40 ▲0.23 |
Dashboard /wp-admin | 2,889 ▲31 | 6.17 ▼0.04 | 119.57 ▼14.26 | 152.58 ▼2.40 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.23 ▲0.00 | 63.46 ▲1.97 | 140.61 ▲5.50 |
Add New Post /wp-admin/post-new.php | 1,651 ▼10 | 18.25 ▲1.49 | 444.17 ▲34.23 | 157.10 ▲4.12 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.54 ▲0.02 | 138.28 ▼5.41 | 189.09 ▲3.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pinba-script-name-fix/pinba-script-name-fix.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: pinba, intaro, pinboard, script_name
pinba-script-name-fix/pinba-script-name-fix.php 92% from 13 tests
The entry point to "Pinba Script Name Fix" version 0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 220 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin7 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 12 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin