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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.80ms] Passed 4 tests
This is a short check of server-side resources used by WP Couch Mode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.46 ▲4.82 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.41 ▼13.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.60 ▲3.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.80 ▼19.18 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.42 ▲1.85 |
Read Mode Settings /wp-admin/options-general.php?page=wp-couch-mode/wp-couch-mode.php | 3.23 | 31.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wpcm_resize_popup |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
wpcm_readm_mode_link |
widget_recent-posts |
db_upgraded |
wpcm_read_mode_text |
Browser metrics Passed 4 tests
WP Couch Mode: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.15 ▼1.16 | 4.78 ▲2.93 | 43.57 ▲3.63 |
Dashboard /wp-admin | 2,213 ▲25 | 5.86 ▼0.05 | 97.41 ▼14.47 | 36.23 ▼4.91 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.01 | 38.59 ▼3.71 | 34.87 ▼1.23 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 18.64 ▼4.37 | 589.13 ▼87.80 | 57.95 ▼3.08 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.02 | 94.38 ▼15.28 | 43.59 ▼6.73 |
Read Mode Settings /wp-admin/options-general.php?page=wp-couch-mode/wp-couch-mode.php | 853 | 2.04 | 22.39 | 27.50 |
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
These items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- theysaidso_admin_options
- wpcm_readm_mode_link
- can_compress_scripts
- wpcm_read_mode_text
- wpcm_resize_popup
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-couch-mode/wp-couch-mode.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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
7 plugin tags: simple read post, popup post, post, read post, couch mode...
wp-couch-mode/wp-couch-mode.php Passed 13 tests
The entry point to "WP Couch Mode" version 1.3 is a PHP file that has certain tags in its header comment area
93 characters long description:
WP Couch Mode lets you get a Clean or Simple Reading mode for post in your WordPress website.
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
No dangerous file extensions were detected406 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 7 | 2 | 189 |
PHP | 1 | 37 | 21 | 153 |
JavaScript | 1 | 8 | 6 | 51 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected