Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼305.07ms] Passed 4 tests
A check of server-side resources used by Felicette Pedigree Litters
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.11 | 55.73 ▼4.33 |
Dashboard /wp-admin | 3.50 ▲0.09 | 35.42 ▼0.48 |
Posts /wp-admin/edit.php | 3.73 ▲0.08 | 41.46 ▲5.37 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 98.48 ▼1,215.21 |
Media Library /wp-admin/upload.php | 3.37 ▲0.08 | 26.23 ▼0.25 |
Felicette /wp-admin/edit.php?post_type=felicette_pl_type | 3.41 | 26.85 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=felicette_pl_type | 3.37 | 26.93 |
Add New /wp-admin/post-new.php?post_type=felicette_pl_type | 3.75 | 44.07 |
Felicette Configuration /wp-admin/options-general.php?page=felicette-options | 3.34 | 22.17 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Felicette Pedigree Litters
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,846 ▲92 | 15.87 ▲0.10 | 7.60 ▼0.56 | 2.62 ▼0.78 |
Dashboard /wp-admin | 2,938 ▲80 | 6.03 ▼0.23 | 118.93 ▼28.36 | 203.85 ▲42.24 |
Posts /wp-admin/edit.php | 2,735 ▲47 | 3.14 ▼0.11 | 105.70 ▲36.10 | 165.99 ▼43.12 |
Add New Post /wp-admin/post-new.php | 1,690 ▼67 | 16.23 ▼5.67 | 417.31 ▼35.47 | 217.58 ▲53.94 |
Media Library /wp-admin/upload.php | 1,744 ▲43 | 5.54 ▲0.00 | 151.04 ▲6.03 | 219.54 ▲11.85 |
Felicette /wp-admin/edit.php?post_type=felicette_pl_type | 1,412 | 3.10 | 64.87 | 115.78 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=felicette_pl_type | 1,748 | 2.78 | 56.19 | 120.46 |
Add New /wp-admin/post-new.php?post_type=felicette_pl_type | 3,076 | 9.98 | 195.71 | 232.83 |
Felicette Configuration /wp-admin/options-general.php?page=felicette-options | 1,137 | 2.49 | 56.23 | 108.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=felicette_pl_type
- > Notice in wp-content/plugins/felicette-pedigree-litters/felicette-core/customtype-fields.php+58
Undefined variable: felicettemums
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=felicette_pl_type
- > Warning in wp-content/plugins/felicette-pedigree-litters/felicette-core/customtype-fields.php+92
sizeof(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/post-new.php?post_type=felicette_pl_type
- > Notice in wp-content/plugins/felicette-pedigree-litters/felicette-core/customtype-fields.php+92
Undefined variable: felicettedads
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: dog, breed, pets, felicette, pedigree...
felicette-pedigree-litters/felicette-pedigree-litters.php Passed 13 tests
Analyzing the main PHP file in "Felicette Pedigree Litters" version 0.3.7
34 characters long description:
Creates a content type for litters
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
Good job! No executable or dangerous file extensions detected708 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 219 | 24 | 519 |
CSS | 3 | 29 | 10 | 189 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/femaleico.png | 0.33KB | 0.35KB | 0.00% |
images/icon.png | 0.62KB | 0.39KB | ▼ 36.98% |
images/maleico.png | 0.34KB | 0.38KB | 0.00% |