Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/easy-pinterest/easy-pinterest.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; thisismyurl_easy_pinterest_widget has a deprecated constructor
Server metrics [RAM: ▼1.88MB] [CPU: ▼55.85ms] Passed 4 tests
This is a short check of server-side resources used by Easy Pinterest for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.36 | 4.81 ▼32.70 |
Dashboard /wp-admin | 2.13 ▼1.18 | 5.58 ▼44.62 |
Posts /wp-admin/edit.php | 2.13 ▼1.23 | 6.50 ▼47.25 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.76 | 5.33 ▼94.28 |
Media Library /wp-admin/upload.php | 2.13 ▼1.10 | 6.69 ▼37.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_thisismyurl_easy_pinterest_widget |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Pinterest for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.72 ▲0.37 | 1.86 ▼0.26 | 44.92 ▲2.66 |
Dashboard /wp-admin | 2,199 ▲25 | 5.52 ▼0.09 | 85.67 ▼34.43 | 40.08 ▼5.82 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.03 | 42.78 ▲2.38 | 36.20 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.22 ▲0.13 | 669.32 ▼23.71 | 56.61 ▼6.67 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.14 ▼0.14 | 107.26 ▲4.74 | 46.23 ▼3.39 |
Easy Pinterest /wp-admin/thisismyurl_easy_pinterest.php | 26 | 0.42 | 0.08 | 13.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/easy-pinterest/easy-pinterest.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; thisismyurl_easy_pinterest_widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_thisismyurl_easy_pinterest_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-pinterest/easy-pinterest.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/thisismyurl_easy_pinterest.php
- > Network (severe)
wp-admin/thisismyurl_easy_pinterest.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please describe screenshot #3 in easy-pinterest/assets to your readme.txt
easy-pinterest/easy-pinterest.php Passed 13 tests
The principal PHP file in "Easy Pinterest for WordPress" v. 1.2.9 is loaded by WordPress automatically on each request
93 characters long description:
An easy to use WordPress function to add Easy Pinterest to any theme as a function or Widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin137 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 73 | 25 | 137 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin