Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲5.38MB] [CPU: ▲18.67ms] 50% from 4 tests
A check of server-side resources used by Read More WP
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 1,978.46ms on /wp-admin/options-general.php?page=read-more-wp)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.38MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.22 ▲5.75 | 63.98 ▲22.06 |
Dashboard /wp-admin | 9.24 ▲5.89 | 74.06 ▲10.90 |
Posts /wp-admin/edit.php | 9.24 ▲5.88 | 83.78 ▲33.98 |
Add New Post /wp-admin/post-new.php | 9.87 ▲3.98 | 111.51 ▲10.90 |
Media Library /wp-admin/upload.php | 9.24 ▲6.01 | 68.12 ▲30.83 |
Read More WP /wp-admin/options-general.php?page=read-more-wp | 9.24 | 1,978.46 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 9.24 | 55.84 |
Server storage [IO: ▲3.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 202 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_accounts |
fs_debug_mode |
fs_active_plugins |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Read More WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲151 | 13.43 ▼1.16 | 7.69 ▲6.07 | 29.86 ▼7.94 |
Dashboard /wp-admin | 2,220 ▲40 | 5.58 ▼0.03 | 93.74 ▼4.06 | 43.15 ▲1.46 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.99 ▲0.01 | 36.32 ▼3.72 | 33.19 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 22.98 ▼0.21 | 762.81 ▲104.10 | 62.54 ▲7.33 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.22 ▲0.08 | 100.25 ▼11.31 | 45.60 ▲0.40 |
Read More WP /wp-admin/options-general.php?page=read-more-wp | 988 | 1.69 | 26.13 | 62.72 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,077 | 1.66 | 23.95 | 24.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/read-more-wp/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- db_upgraded
- fs_debug_mode
- widget_recent-posts
- fs_accounts
- can_compress_scripts
- widget_recent-comments
- fs_active_plugins
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: toggle text, read more, show more, ellipsis
read-more-wp/read-more-wp.php Passed 13 tests
The main file in "Read More WP" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
73 characters long description:
Create excerpts and hide text with an elegant toggle button to show more.
Code Analysis 97% from 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 detected33,871 lines of code in 151 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 128 | 8,162 | 18,033 | 33,542 |
JavaScript | 5 | 57 | 132 | 236 |
CSS | 15 | 0 | 0 | 44 |
LESS | 2 | 0 | 0 | 33 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 80.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 2 | 3.57% |
▷ Concrete classes | 54 | 96.43% |
▷ Final classes | 0 | 0.00% |
Methods | 1,313 | |
▷ Static methods | 200 | 15.23% |
▷ Public methods | 918 | 69.92% |
▷ Protected methods | 17 | 1.29% |
▷ Private methods | 378 | 28.79% |
Functions | 102 | |
▷ Named functions | 102 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/read-more-wp.png | 8.12KB | 2.96KB | ▼ 63.57% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |