Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/purlem-personal-url-marketing/purlem.php+355
Methods with the same name as their class will not be constructors in a future version of PHP; PurlemWidget has a deprecated constructor
Server metrics [RAM: ▼1.79MB] [CPU: ▼59.34ms] Passed 4 tests
Analyzing server-side resources used by Purlem Personalized URL
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.25 | 4.78 ▼35.34 |
Dashboard /wp-admin | 2.23 ▼1.11 | 6.23 ▼54.57 |
Posts /wp-admin/edit.php | 2.23 ▼1.12 | 7.20 ▼43.53 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.66 | 6.35 ▼103.91 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 5.38 ▼26.59 |
Purlem /wp-admin/options-general.php?page=plugin | 2.23 | 6.64 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_purlemwidget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Purlem Personalized URL: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.21 ▼1.39 | 1.59 ▼0.21 | 40.30 ▼0.02 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▲0.95 | 106.24 ▲1.76 | 42.38 ▼1.63 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▼0.00 | 39.55 ▼6.30 | 33.72 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 23.07 ▲5.63 | 633.11 ▼35.39 | 56.41 ▼1.65 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.15 ▼0.09 | 96.39 ▼0.95 | 43.70 ▼5.13 |
Purlem /wp-admin/options-general.php?page=plugin | 868 | 1.72 | 28.34 | 30.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/purlem-personal-url-marketing/purlem.php+355
Methods with the same name as their class will not be constructors in a future version of PHP; PurlemWidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_purlemwidget
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=plugin
- > Deprecated in wp-content/plugins/purlem-personal-url-marketing/purlem.php+355
Methods with the same name as their class will not be constructors in a future version of PHP; PurlemWidget has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=plugin
- > Notice in wp-content/plugins/purlem-personal-url-marketing/purlem.php+28
Undefined index: purl
- > GET request to /wp-admin/options-general.php?page=plugin
- > Deprecated in wp-content/plugins/purlem-personal-url-marketing/purlem.php+42
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=plugin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in PurlemWidget is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=plugin
- > Notice in wp-content/plugins/purlem-personal-url-marketing/purlem.php+190
Undefined variable: curl
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/purlem-personal-url-marketing/purlem.php:36
- > PHP Notice
Undefined index: purl in wp-content/plugins/purlem-personal-url-marketing/purlem.php on line 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
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=plugin
- > Network (severe)
https://purlem.com/assets/images/logo_white.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== purlem-personal-url-marketing ===
)
purlem-personal-url-marketing/purlem.php 85% from 13 tests
This is the main PHP file of "Purlem Personalized URL" version 1.4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 174 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("purlem-personal-url-marketing.php" instead of "purlem.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected351 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 32 | 351 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin