Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/laiser-tag-plus/laisertagplus.php+12
Undefined variable: wp_version
Server metrics [RAM: ▲0.22MB] [CPU: ▲2.73ms] Passed 4 tests
Server-side resources used by Laiser Tag Plus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.68 | 49.02 ▲5.74 |
Dashboard /wp-admin | 3.45 ▲0.15 | 58.63 ▲4.69 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 54.60 ▲7.97 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.37 | 92.04 ▼4.63 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 40.50 ▲5.10 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 91 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Laiser Tag Plus
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲91 | 13.39 ▼0.75 | 9.87 ▲7.99 | 46.36 ▲5.58 |
Dashboard /wp-admin | 2,202 ▲22 | 5.65 ▼0.05 | 101.18 ▲10.39 | 42.59 ▼2.75 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.01 | 37.44 ▲0.24 | 35.93 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,536 ▼11 | 17.73 ▼5.53 | 685.71 ▲40.28 | 59.05 ▲6.54 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▼0.04 | 114.48 ▲12.62 | 48.74 ▼0.07 |
Laiser Tag Plus /wp-admin/laisertagplus.php | 26 | 0.44 | 0.06 | 14.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/laiser-tag-plus/laisertagplus.php on line 17
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/laiser-tag-plus/laisertagplus.php on line 13
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/laiser-tag-plus/laisertagplus.php on line 15
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/laiser-tag-plus/laisertagplus.php on line 12
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/laiser-tag-plus/laisertagplus.php on line 16
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/laiser-tag-plus/laisertagplus.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/laiser-tag-plus/laisertagplus.php:22
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/laisertagplus.php
- > Network (severe)
wp-admin/laisertagplus.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: semantic data, taxonomy, open calais, tagging, content optimization
laiser-tag-plus/laisertagplus.php 92% from 13 tests
Analyzing the main PHP file in "Laiser Tag Plus" version 1.0.3
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("laiser-tag-plus.php" instead of "laisertagplus.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin12,280 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 29 | 547 | 270 | 3,616 |
CSS | 6 | 49 | 21 | 2,639 |
PHP | 2 | 298 | 323 | 2,355 |
Sass | 13 | 28 | 24 | 1,520 |
LESS | 13 | 28 | 34 | 1,510 |
SVG | 1 | 0 | 0 | 640 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 164.50 |
▷ Minimum class complexity | 131.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 85 | |
▷ Static methods | 1 | 1.18% |
▷ Public methods | 69 | 81.18% |
▷ Protected methods | 16 | 18.82% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 33 | |
▷ Global constants | 33 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/img-size-500.png | 0.20KB | 0.14KB | ▼ 28.99% |
images/img-size-100.png | 0.23KB | 0.18KB | ▼ 19.92% |
images/add.png | 4.40KB | 1.48KB | ▼ 66.35% |
images/img-size-75.png | 0.23KB | 0.18KB | ▼ 21.10% |
assets/icon-128.png | 5.04KB | 2.84KB | ▼ 43.56% |