Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/pinterest-verify-meta-tag/pinterest-verify-meta-tag.php+193
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.77ms] Passed 4 tests
Server-side resources used by Pinterest Verify Meta Tag
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.33 ▼1.95 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.41 ▼2.88 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.79 ▼7.62 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.34 ▼2.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 42.38 ▼0.74 |
Pinterest Verify Meta /wp-admin/options-general.php?page=pvmt | 3.23 | 32.66 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
pvmt_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pinterest Verify Meta Tag
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.31 ▼0.42 | 2.05 ▼0.16 | 44.17 ▲3.20 |
Dashboard /wp-admin | 2,202 ▲28 | 5.66 ▼0.01 | 85.55 ▼13.60 | 41.91 ▼0.35 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.01 | 40.05 ▼0.84 | 37.11 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.14 ▲0.01 | 678.07 ▲23.22 | 50.41 ▼8.33 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.00 | 100.46 ▼7.11 | 45.93 ▲0.42 |
Pinterest Verify Meta /wp-admin/options-general.php?page=pvmt | 1,008 | 2.76 | 66.99 | 29.32 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pinterest-verify-meta-tag/pinterest-verify-meta-tag.php:31
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (settings), #2 (saved option)
pinterest-verify-meta-tag/pinterest-verify-meta-tag.php Passed 13 tests
This is the main PHP file of "Pinterest Verify Meta Tag" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
74 characters long description:
Add Pinterest meta tag verification code to the HEAD section of your site.
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
Everything looks great! No dangerous files found in this plugin145 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 24 | 145 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/twitter-icon.png | 1.71KB | 1.64KB | ▼ 3.89% |
images/pc-icon.png | 0.88KB | 1.05KB | 0.00% |
images/facebook-icon.png | 1.65KB | 1.61KB | ▼ 2.89% |