Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼10.15ms] Passed 4 tests
Server-side resources used by Theme Powerkit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.10 ▼2.30 |
Dashboard /wp-admin | 3.50 ▲0.16 | 60.14 ▼4.08 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 53.53 ▼1.23 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 88.12 ▼32.99 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.84 ▲1.72 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_theme-powerkit-ad-box |
widget_recent-posts |
widget_theme-powerkit-tabbed |
can_compress_scripts |
widget_theme-powerkit-social-layout |
widget_theysaidso_widget |
tpk_options_settings |
widget_theme-powerkit-popular-sidebar-layout |
widget_theme-powerkit-author-layout |
widget_theme-powerkit-category-layout |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Theme Powerkit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,103 ▲342 | 16.99 ▲2.64 | 5.79 ▲4.20 | 44.66 ▼1.55 |
Dashboard /wp-admin | 2,382 ▲202 | 7.76 ▲2.15 | 152.47 ▲63.24 | 55.04 ▲13.18 |
Posts /wp-admin/edit.php | 2,322 ▲222 | 5.16 ▲3.13 | 62.07 ▲21.14 | 46.36 ▲8.54 |
Add New Post /wp-admin/post-new.php | 6,572 ▲5,044 | 24.62 ▲1.49 | 915.27 ▲246.34 | 76.95 ▲22.60 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 5.29 ▲1.11 | 91.78 ▼5.56 | 55.58 ▲15.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 13 options
- widget_theme-powerkit-social-layout
- widget_theme-powerkit-author-layout
- db_upgraded
- widget_recent-comments
- widget_theme-powerkit-ad-box
- widget_theme-powerkit-popular-sidebar-layout
- widget_theme-powerkit-tabbed
- widget_recent-posts
- tpk_options_settings
- widget_theme-powerkit-category-layout
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
theme-powerkit/theme-powerkit.php 92% from 13 tests
Analyzing the main PHP file in "Theme Powerkit" version 1.0.3
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 318 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected5,424 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 888 | 386 | 3,983 |
CSS | 4 | 169 | 51 | 1,112 |
JavaScript | 3 | 117 | 24 | 282 |
SVG | 1 | 0 | 0 | 47 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 43.62 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 9.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 90.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 89.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.26% |
Functions | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected