Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼189.51ms] Passed 4 tests
A check of server-side resources used by Small Heading For Post Title
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 41.68 ▲21.32 |
Dashboard /wp-admin | 3.10 ▲0.04 | 46.85 ▲2.00 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 46.17 ▲1.46 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 91.60 ▼705.30 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 34.82 ▼56.21 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Small Heading For Post Title
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲117 | 15.86 ▼0.25 | 10.81 ▼2.27 | 48.15 ▲0.27 |
Dashboard /wp-admin | 2,990 ▲57 | 5.91 ▼0.10 | 142.52 ▼3.26 | 98.55 ▼14.11 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.73 ▲0.01 | 84.81 ▲18.21 | 91.07 ▼8.10 |
Add New Post /wp-admin/post-new.php | 1,562 ▼19 | 17.08 ▼0.21 | 338.98 ▼134.60 | 121.17 ▼259.48 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.02 ▼0.06 | 161.50 ▼122.24 | 114.69 ▼212.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, function 'shfpt_SmallHeadingPostsTitle_uninstall' not found or invalid function name
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Please 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 register_uninstall_hook() in wp-content/plugins/small-heading-for-post-title/small-heading-for-post-title.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tested up to: Version not formatted correctly
small-heading-for-post-title/small-heading-for-post-title.php Passed 13 tests
This is the main PHP file of "Small Heading For Post Title" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
109 characters long description:
The Small Heading For Post Title is a simple plugin for displaying small headings before or after post title.
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
There were no executable files found in this plugin149 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 50 | 149 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin