Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/vd-alexa-and-pagerank/vdwp-alexa.php+20
Methods with the same name as their class will not be constructors in a future version of PHP; vdwp_alexa has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼57.30ms] Passed 4 tests
Server-side resources used by vdwp-alexa
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.05 ▼36.54 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.94 ▼41.70 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 7.06 ▼46.28 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.85 ▼104.66 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.49 ▼27.48 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_alexa-widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for vdwp-alexa
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.10 | 1.80 ▲0.12 | 47.40 ▲5.54 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▼0.06 | 97.56 ▼8.00 | 38.21 ▼9.04 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 1.99 ▼0.03 | 39.13 ▼0.88 | 33.80 ▼6.24 |
Add New Post /wp-admin/post-new.php | 1,534 ▼4 | 23.28 ▲0.11 | 648.22 ▲43.19 | 56.61 ▼5.33 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.30 ▲0.10 | 94.92 ▼9.05 | 44.18 ▲1.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/vd-alexa-and-pagerank/vdwp-alexa.php+20
Methods with the same name as their class will not be constructors in a future version of PHP; vdwp_alexa has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_alexa-widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vd-alexa-and-pagerank/vdwp-alexa.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== vd-alexa-and-pagerank ===
)
vd-alexa-and-pagerank/vdwp-alexa.php 92% from 13 tests
The primary PHP file in "vdwp-alexa" version 1.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("vd-alexa-and-pagerank.php" instead of "vdwp-alexa.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin40 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 14 | 40 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin