Benchmarks
Plugin footprint 83% from 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.04MB] [CPU: ▼5.45ms] Passed 4 tests
Server-side resources used by Pilo'Press
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.01 ▲0.34 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.63 ▼11.67 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.91 ▲1.92 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.90 ▼11.03 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.00 ▲0.56 |
Server storage [IO: ▲4.87MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pilo'Press
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.17 | 1.70 ▲0.03 | 43.01 ▲2.76 |
Dashboard /wp-admin | 2,206 ▲15 | 4.86 ▼0.26 | 108.84 ▲2.69 | 42.13 ▼0.80 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.05 | 40.30 ▲3.37 | 35.97 ▲2.59 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.38 ▲0.70 | 598.52 ▼93.00 | 69.37 ▲16.71 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.06 | 93.04 ▼6.30 | 40.91 ▼6.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 36× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_new_instance() in wp-content/plugins/pilopress/includes/classes/pattern/class-pattern-message.php:139
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_new_instance() in wp-content/plugins/pilopress/includes/classes/main/class-layouts.php:375
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_new_instance() in wp-content/plugins/pilopress/includes/classes/admin/options-pages/class-admin-options-page.php:441
- > PHP Notice
Undefined variable: page_title in wp-content/plugins/pilopress/includes/views/styles-admin-page.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_add_local_field_group() in wp-content/plugins/pilopress/includes/classes/admin/options-pages/styles-option-configuration.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_new_instance() in wp-content/plugins/pilopress/includes/classes/main/class-flexible.php:673
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/pilopress/includes/layouts/template-target-content/template-target-content.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_new_instance() in wp-content/plugins/pilopress/includes/classes/pattern/class-pattern.php:181
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_new_instance() in wp-content/plugins/pilopress/includes/views/pip-dashboard.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_add_local_field_group() in wp-content/plugins/pilopress/includes/classes/admin/options-pages/styles-option-tailwind.php:3
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Flexible Content Layout UI)
pilopress/pilopress.php 85% from 13 tests
The primary PHP file in "Pilo'Press" version 0.4.3.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires PHP: Please use periods and digits for the required version (ex. "7.0" instead of "5.6 or higher")
- Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "4.9 or higher")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected15,431 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 2,773 | 3,826 | 12,765 |
JavaScript | 5 | 231 | 325 | 1,256 |
PO File | 1 | 447 | 688 | 1,011 |
CSS | 5 | 89 | 46 | 399 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 24.73 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 332 | |
▷ Static methods | 10 | 3.01% |
▷ Public methods | 319 | 96.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 3.92% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 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
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/layouts/template-target-content/template-target-content.png | 64.91KB | 25.93KB | ▼ 60.05% |