Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.33MB] [CPU: ▼1.74ms] Passed 4 tests
This is a short check of server-side resources used by Pen
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 39.95 ▼0.46 |
Dashboard /wp-admin | 3.66 ▲0.36 | 52.83 ▲4.92 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 47.63 ▼1.08 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 84.68 ▼7.61 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 38.24 ▲2.19 |
Layout /wp-admin/admin.php?page=pen-extra-features-layout | 3.56 | 33.50 |
Addons 2 /wp-admin/admin.php?page=pen-extra-features-addons | 3.56 | 34.00 |
Customization Import /wp-admin/admin.php?page=pen-extra-features-import | 3.56 | 33.80 |
Content Customization /wp-admin/admin.php?page=pen-extra-features-overview | 3.56 | 34.53 |
Style /wp-admin/admin.php?page=pen-extra-features | 3.56 | 32.10 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Pen
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲70 | 13.94 ▼0.41 | 1.70 ▲0.04 | 45.64 ▼2.78 |
Dashboard /wp-admin | 2,240 ▲63 | 5.66 ▲0.01 | 88.21 ▼14.74 | 41.20 ▼1.32 |
Posts /wp-admin/edit.php | 2,142 ▲39 | 1.95 ▼0.07 | 36.89 ▼0.92 | 34.14 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.16 ▼0.03 | 673.05 ▼21.87 | 55.94 ▲0.17 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.19 ▲0.00 | 98.10 ▼2.60 | 43.05 ▼0.80 |
Layout /wp-admin/admin.php?page=pen-extra-features-layout | 826 | 2.04 | 25.61 | 31.16 |
Addons 2 /wp-admin/admin.php?page=pen-extra-features-addons | 827 | 2.01 | 24.32 | 32.61 |
Customization Import /wp-admin/admin.php?page=pen-extra-features-import | 827 | 2.04 | 27.41 | 25.63 |
Content Customization /wp-admin/admin.php?page=pen-extra-features-overview | 830 | 2.01 | 24.34 | 28.66 |
Style /wp-admin/admin.php?page=pen-extra-features | 827 | 2.04 | 25.04 | 27.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
pen-extra-features/pen-extra-features.php Passed 13 tests
The primary PHP file in "Pen" version 1.1.4 is used by WordPress to initiate all plugin functionality
58 characters long description:
This plugin adds more features to the fantastic Pen theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected6,062 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 180 | 579 | 3,764 |
CSS | 8 | 20 | 2 | 2,069 |
JavaScript | 1 | 20 | 0 | 229 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
backend/assets/img/hpcf_128x128.png | 9.05KB | 4.47KB | ▼ 50.60% |
backend/assets/img/services_128x128.png | 9.75KB | 4.96KB | ▼ 49.19% |
backend/assets/img/dm_128x128.png | 1.20KB | 1.91KB | 0.00% |