Benchmarks
Plugin footprint 83% from 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.04MB] [CPU: ▼6.93ms] Passed 4 tests
Analyzing server-side resources used by Minitek Wall
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.75 ▼0.01 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.54 ▼10.35 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.45 ▲1.71 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 86.09 ▼19.00 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.45 ▲1.64 |
Dashboard /wp-admin/edit.php?post_type=mwall&page=minitek-wall-dashboard | 3.32 | 44.14 |
Walls /wp-admin/edit.php?post_type=mwall | 3.32 | 35.79 |
Add New Wall /wp-admin/post-new.php?post_type=mwall | 3.46 | 43.62 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 89 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Minitek Wall: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲228 | 14.27 ▼0.11 | 8.89 ▲7.16 | 77.29 ▲38.19 |
Dashboard /wp-admin | 2,262 ▲77 | 4.90 ▼0.96 | 104.09 ▲2.07 | 53.92 ▲12.22 |
Posts /wp-admin/edit.php | 2,151 ▲62 | 2.05 ▲0.06 | 40.40 ▲4.52 | 51.22 ▲17.34 |
Add New Post /wp-admin/post-new.php | 1,557 ▲38 | 23.08 ▼0.24 | 633.84 ▼36.37 | 54.02 ▼1.74 |
Media Library /wp-admin/upload.php | 1,436 ▲48 | 4.22 ▼0.02 | 95.16 ▼4.44 | 57.97 ▲14.04 |
Dashboard /wp-admin/edit.php?post_type=mwall&page=minitek-wall-dashboard | 1,075 | 2.03 | 26.96 | 52.31 |
Walls /wp-admin/edit.php?post_type=mwall | 1,096 | 1.98 | 30.60 | 28.78 |
Add New Wall /wp-admin/post-new.php?post_type=mwall | 6,065 | 2.99 | 64.97 | 90.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=mwall
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
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
- 50× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/minitek-wall/public/partials/minitek-wall-public-sortings.php:14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/minitek-wall/public/partials/minitek-wall-public-items.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/minitek-wall/admin/partials/minitek-wall-admin-page-dashboard.php:25
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/minitek-wall/admin/partials/fields/minitek-wall-admin-field-checkbox.php on line 17
- > PHP Notice
Undefined variable: wall_options in wp-content/plugins/minitek-wall/public/partials/minitek-wall-public-filters.php on line 84
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/minitek-wall/public/partials/grids/masonry-list.php:10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/minitek-wall/public/partials/minitek-wall-public-filters.php on line 144
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/minitek-wall/admin/partials/fields/minitek-wall-admin-field-checkbox.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/minitek-wall/admin/partials/metabox/minitek-wall-admin-metabox-wall-options-general.php:20
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/minitek-wall/public/partials/minitek-wall-public-items.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== minitek-wall ===
) - Tags: There are too many tags (15 tag instead of maximum 10)
minitek-wall/minitek-wall.php Passed 13 tests
The primary PHP file in "Minitek Wall" version 1.2.1 is used by WordPress to initiate all plugin functionality
69 characters long description:
A powerful masonry layout system for displaying content in WordPress.
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
There were no executable files found in this plugin12,743 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,952 | 1,839 | 10,289 |
CSS | 4 | 311 | 60 | 1,599 |
JavaScript | 8 | 166 | 105 | 837 |
SVG | 1 | 0 | 0 | 11 |
Markdown | 1 | 6 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 47.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 8.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 4 | 5.63% |
▷ Public methods | 59 | 83.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 16.90% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo.png | 3.10KB | 0.28KB | ▼ 90.91% |
public/images/next.png | 1.32KB | 1.58KB | 0.00% |
public/images/close.png | 0.27KB | 0.29KB | 0.00% |
public/images/prev.png | 1.33KB | 1.59KB | 0.00% |