Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.57ms] Passed 4 tests
Analyzing server-side resources used by Camptix - Gravatar Fetch and Export
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.35 ▲0.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.07 ▲0.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.63 ▼3.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.07 ▼12.28 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.08 ▲3.24 |
Server storage [IO: ▲0.21MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Camptix - Gravatar Fetch and Export
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▲0.16 | 1.73 ▼0.17 | 46.49 ▲2.76 |
Dashboard /wp-admin | 2,198 ▲21 | 5.68 ▲0.02 | 87.40 ▼0.13 | 36.65 ▼10.36 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.00 ▼0.03 | 46.24 ▲6.07 | 37.75 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.32 ▲0.14 | 688.02 ▲14.67 | 56.72 ▲4.36 |
Media Library /wp-admin/upload.php | 1,394 ▼0 | 4.15 ▼0.05 | 97.03 ▼3.17 | 44.88 ▲0.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/camptix-automatic-gravatar-fetch-and-export/camptix.php:12
- > PHP Fatal error
Uncaught Error: Class 'CampTix_Addon' not found in wp-content/plugins/camptix-automatic-gravatar-fetch-and-export/classes/fetch-export-gravatars.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Requires at least: Invalid plugin version format
- Screenshots: Please add an image for screenshot #1 (Tickets > Tools > Gravatar Fetch and Export)
camptix-automatic-gravatar-fetch-and-export/camptix.php 92% from 13 tests
The principal PHP file in "Camptix - Gravatar Fetch and Export" v. 0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("camptix-automatic-gravatar-fetch-and-export.php" instead of "camptix.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected416 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 132 | 56 | 416 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 8.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 176.70KB | 65.41KB | ▼ 62.98% |