Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.47ms] Passed 4 tests
Server-side resources used by eCards Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 38.29 ▲0.74 |
Dashboard /wp-admin | 3.44 ▲0.13 | 46.41 ▼0.10 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 44.95 ▲3.47 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 81.77 ▼17.59 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 32.49 ▲3.07 |
eCards Lite /wp-admin/options-general.php?page=ecards | 3.32 | 30.98 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 28 new options
New WordPress options |
---|
ecard_label |
ecard_hardcoded_email |
ecard_label_success |
ecard_body_additional |
ecard_send_behaviour |
widget_recent-posts |
db_upgraded |
ecard_link_anchor |
ecard_use_akismet |
ecard_counter |
... |
Browser metrics Passed 4 tests
eCards Lite: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.17 ▼0.44 | 1.78 ▲0.09 | 44.11 ▲0.73 |
Dashboard /wp-admin | 2,201 ▲27 | 5.62 ▲0.07 | 90.22 ▼6.16 | 43.26 ▼0.94 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.00 ▼0.02 | 34.80 ▼5.59 | 32.86 ▼5.94 |
Add New Post /wp-admin/post-new.php | 1,531 ▼5 | 23.12 ▲5.04 | 650.31 ▲27.46 | 60.20 ▼16.10 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.26 ▲0.09 | 95.52 ▲2.01 | 42.06 ▲0.54 |
eCards Lite /wp-admin/options-general.php?page=ecards | 964 | 2.00 | 24.94 | 56.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 28 options in the database
- ecard_label_email_friend
- ecard_counter
- ecard_submit
- ecard_restrictions
- widget_recent-posts
- ecard_label_email_own
- db_upgraded
- ecard_link_anchor
- ecard_hardcoded_email
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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 need to be fixed:
- Screenshots: These screenshots do not have images: #1 (eCards Settings), #2 (eCards Email Settings), #3 (eCards Restrictions and Payment), #4 (eCards Labels), #5 (eCards Dashboard/Help/Usage)
ecards-lite/ecards-lite.php 92% from 13 tests
The main PHP script in "eCards Lite" version 4.2.5 is automatically included on every request by WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 354 characters long)
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
There were no executable files found in this plugin854 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 136 | 55 | 670 |
CSS | 2 | 6 | 6 | 114 |
XML | 2 | 7 | 8 | 70 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 13 | |
▷ Named functions | 13 | 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
5 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 45.92KB | 48.77KB | 0.00% |
screenshot-2.png | 26.32KB | 27.56KB | 0.00% |
screenshot-1.png | 27.72KB | 28.90KB | 0.00% |
screenshot-4.png | 15.09KB | 15.49KB | 0.00% |
screenshot-3.png | 15.17KB | 15.91KB | 0.00% |