Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼143.96ms] Passed 4 tests
Server-side resources used by WP Circliful
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.23 | 36.67 ▲13.36 |
Dashboard /wp-admin | 3.17 ▲0.11 | 48.32 ▲1.76 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 47.65 ▲0.54 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.09 | 91.49 ▼576.84 |
Media Library /wp-admin/upload.php | 3.11 ▲0.11 | 34.72 ▼1.29 |
All Circlifuls /wp-admin/edit.php?post_type=circlifuls | 3.15 | 31.84 |
Add New Circliful /wp-admin/post-new.php?post_type=circlifuls | 3.18 | 47.27 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_circliful_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Circliful
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,865 ▲294 | 16.69 ▲0.76 | 16.17 ▲6.05 | 47.30 ▼4.99 |
Dashboard /wp-admin | 3,005 ▲68 | 5.90 ▼0.17 | 151.59 ▲3.03 | 115.25 ▲3.84 |
Posts /wp-admin/edit.php | 2,774 ▲35 | 2.73 ▲0.01 | 69.86 ▲0.95 | 88.75 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,706 ▲34 | 18.75 ▲0.04 | 418.51 ▲41.19 | 109.70 ▲0.76 |
Media Library /wp-admin/upload.php | 1,857 ▲47 | 5.05 ▲0.03 | 151.19 ▼0.26 | 111.26 ▼9.95 |
All Circlifuls /wp-admin/edit.php?post_type=circlifuls | 1,463 | 2.64 | 72.46 | 72.48 |
Add New Circliful /wp-admin/post-new.php?post_type=circlifuls | 2,534 | 3.45 | 106.06 | 118.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- widget_circliful_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)
Good news, no errors were detected
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 fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-circliful/wp-circliful.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-circliful/wp-circliful.php:21
- > PHP Warning
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
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:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-circliful ===
)
wp-circliful/wp-circliful.php 92% from 13 tests
"WP Circliful" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 538 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected744 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 414 |
PHP | 1 | 52 | 45 | 308 |
CSS | 2 | 3 | 3 | 18 |
JavaScript | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
There are no PNG files in this plugin