Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/read-more-about/includes/class-read-more-about.php+88
require_once(wp-content/plugins/read-more-about/admin/class-read-more-about-admin.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.08ms] Passed 4 tests
A check of server-side resources used by Read More About
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.32 ▼1.72 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.67 ▲0.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.78 ▼5.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.78 ▼24.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.72 ▼0.60 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Read More About: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.33 ▼0.09 | 1.73 ▲0.01 | 46.62 ▲7.09 |
Dashboard /wp-admin | 2,192 ▲15 | 5.52 ▼0.22 | 83.97 ▼8.44 | 40.63 ▲0.28 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.00 | 33.97 ▼6.88 | 31.69 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.33 ▲0.37 | 670.69 ▼24.50 | 65.90 ▲15.67 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.18 ▲0.04 | 93.54 ▼6.85 | 42.38 ▼2.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/read-more-about/public/partials/read-more-about-widget.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_block_wrapper_attributes() in wp-content/plugins/read-more-about/blocks/build/read-more-about/template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/read-more-about/admin/read-more-about-admin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: related links, custom meta panel, shortcodes
read-more-about/read-more-about.php 92% from 13 tests
The main file in "Read More About" v. 2.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,127 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 65 | 36 | 917 |
PHP | 14 | 162 | 511 | 533 |
PO File | 6 | 114 | 150 | 373 |
Sass | 3 | 10 | 0 | 174 |
Markdown | 3 | 22 | 0 | 75 |
JSON | 1 | 0 | 0 | 51 |
CSS | 4 | 0 | 2 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 25 | 75.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 24.24% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.34MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 62.18KB | 16.66KB | ▼ 73.21% |
screenshot-3.png | 158.64KB | 100.83KB | ▼ 36.44% |
images/read-more.png | 2.29KB | 1.38KB | ▼ 39.52% |
screenshot-1.png | 127.99KB | 34.92KB | ▼ 72.71% |