Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.74ms] Passed 4 tests
A check of server-side resources used by Font Resizer With Post Reading Time [GWE]
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 36.54 ▼8.67 |
Dashboard /wp-admin | 3.38 ▲0.03 | 47.72 ▼10.44 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.52 ▲2.84 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.03 ▼5.92 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 36.24 ▼1.94 |
Font Resizer With Post Reading Time /wp-admin/options-general.php?page=fsc | 3.28 | 35.34 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Font Resizer With Post Reading Time [GWE]
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲51 | 13.20 ▼1.12 | 1.53 ▼0.36 | 38.00 ▼7.84 |
Dashboard /wp-admin | 2,220 ▲40 | 5.96 ▲0.34 | 98.64 ▲7.01 | 44.89 ▲2.44 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.26 ▲0.32 | 41.38 ▲1.12 | 34.58 ▼5.56 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.28 ▲0.08 | 596.45 ▼14.59 | 33.38 ▼28.58 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.41 ▲0.20 | 99.64 ▲1.66 | 42.54 ▼0.88 |
Font Resizer With Post Reading Time /wp-admin/options-general.php?page=fsc | 1,327 | 2.57 | 65.59 | 28.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/font-resizer-with-post-reading-time/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please describe screenshot #2 in font-resizer-with-post-reading-time/assets to your readme.txt
- Screenshots: Screenshot #3 (Frontend View.) image not found
font-resizer-with-post-reading-time/index.php 85% from 13 tests
Analyzing the main PHP file in "Font Resizer With Post Reading Time [GWE]" version 1.0.9
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("font-resizer-with-post-reading-time.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected343 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 13 | 242 |
CSS | 4 | 4 | 10 | 56 |
JavaScript | 2 | 4 | 7 | 45 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 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 | 4 | |
▷ Global constants | 4 | 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
There are no PNG files in this plugin