Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼263.28ms] Passed 4 tests
This is a short check of server-side resources used by Metro Theme Widget Titles
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 35.93 ▲11.80 |
Dashboard /wp-admin | 3.07 ▲0.02 | 48.60 ▼0.45 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 42.48 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 87.56 ▼1,045.46 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 33.46 ▼6.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Metro Theme Widget Titles
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,650 ▲44 | 15.90 ▲0.47 | 8.84 ▼0.56 | 47.43 ▼8.60 |
Dashboard /wp-admin | 2,928 ▲78 | 5.95 ▲0.10 | 135.34 ▼5.55 | 110.76 ▲11.12 |
Posts /wp-admin/edit.php | 2,703 ▼0 | 2.69 ▲0.01 | 67.96 ▼0.30 | 86.90 ▼2.37 |
Add New Post /wp-admin/post-new.php | 1,853 ▼0 | 19.07 ▼0.06 | 361.06 ▼25.77 | 105.00 ▼6.29 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 5.01 ▼0.03 | 143.69 ▼13.64 | 116.45 ▲4.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/metro-theme-widget-titles/metro-theme-widget-titles.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: widget titles, studiopress metro theme
metro-theme-widget-titles/metro-theme-widget-titles.php 92% from 13 tests
The main file in "Metro Theme Widget Titles" v. 0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 270 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected74 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 63 | 54 |
CSS | 1 | 3 | 0 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 10 | |
▷ Named functions | 10 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/lines.png | 0.13KB | 0.10KB | ▼ 19.08% |