Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.26ms] Passed 4 tests
Server-side resources used by WP RupeeFont
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.76 ▼1.09 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.27 ▼6.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.18 ▼6.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.55 ▲1.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.04 ▲1.00 |
Server storage [IO: ▲0.17MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP RupeeFont
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.26 ▼0.29 | 5.37 ▲3.72 | 44.11 ▲4.52 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.02 | 88.03 ▼5.06 | 44.42 ▲0.90 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.17 ▲0.16 | 35.63 ▼3.04 | 36.10 ▼5.43 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.54 ▲0.31 | 655.92 ▲9.49 | 61.46 ▲7.75 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.02 | 99.89 ▼18.57 | 47.51 ▼0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-rupeefont/wp-rupeefont.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: india rupee, rs, rupee symbol, india rupee symbol, rupee
wp-rupeefont/wp-rupeefont.php 92% from 13 tests
The primary PHP file in "WP RupeeFont" version 1.1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 161 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
There were no executable files found in this plugin331 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 1 | 0 | 227 |
JavaScript | 1 | 0 | 18 | 81 |
PHP | 1 | 7 | 17 | 13 |
CSS | 1 | 1 | 18 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin