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: ▲1.01MB] [CPU: ▲5.52ms] Passed 4 tests
This is a short check of server-side resources used by CC Manga Comic Reader
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.42 ▲0.96 | 55.38 ▲16.50 |
Dashboard /wp-admin | 4.51 ▲1.20 | 64.65 ▲15.34 |
Posts /wp-admin/edit.php | 4.55 ▲1.19 | 61.10 ▲11.76 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 86.16 ▼16.80 |
Media Library /wp-admin/upload.php | 4.40 ▲1.17 | 46.21 ▲11.79 |
Category /wp-admin/edit-tags.php?taxonomy=cc-category&post_type=cc-manga | 4.42 | 42.49 |
Tags /wp-admin/edit-tags.php?taxonomy=cc-tag&post_type=cc-manga | 4.42 | 45.83 |
Add New /wp-admin/post-new.php?post_type=cc-chapter | 4.49 | 53.65 |
All Manga /wp-admin/edit.php?post_type=cc-manga | 4.47 | 46.06 |
All Chapter /wp-admin/edit.php?post_type=cc-chapter | 4.47 | 41.83 |
Add New /wp-admin/post-new.php?post_type=cc-manga | 4.53 | 57.94 |
Server storage [IO: ▲2.15MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 120 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
_cs_options |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for CC Manga Comic Reader
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,171 ▲436 | 15.80 ▲1.45 | 11.49 ▲9.85 | 47.06 ▲4.60 |
Dashboard /wp-admin | 2,470 ▲282 | 7.02 ▲1.98 | 125.91 ▲22.10 | 40.51 ▼1.29 |
Posts /wp-admin/edit.php | 2,382 ▲293 | 3.57 ▲1.55 | 72.56 ▲34.35 | 38.19 ▲2.63 |
Add New Post /wp-admin/post-new.php | 6,608 ▲5,066 | 20.71 ▲2.28 | 912.37 ▲287.84 | 45.43 ▼4.00 |
Media Library /wp-admin/upload.php | 1,515 ▲124 | 4.83 ▲0.65 | 84.86 ▼8.49 | 48.19 ▲0.78 |
Category /wp-admin/edit-tags.php?taxonomy=cc-category&post_type=cc-manga | 1,552 | 3.80 | 51.98 | 31.52 |
Tags /wp-admin/edit-tags.php?taxonomy=cc-tag&post_type=cc-manga | 1,524 | 3.66 | 45.07 | 29.36 |
Add New /wp-admin/post-new.php?post_type=cc-chapter | 1,677 | 4.21 | 62.96 | 31.45 |
All Manga /wp-admin/edit.php?post_type=cc-manga | 1,356 | 3.87 | 51.61 | 30.51 |
All Chapter /wp-admin/edit.php?post_type=cc-chapter | 1,340 | 3.84 | 52.52 | 28.44 |
Add New /wp-admin/post-new.php?post_type=cc-manga | 2,453 | 7.75 | 172.62 | 63.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- _cs_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/cc-manga-comic-reader/templates/chapter.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: amime, comic, manga
cc-manga-comic-reader/main.php 92% from 13 tests
The principal PHP file in "CC Manga Comic Reader" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cc-manga-comic-reader.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected32,032 lines of code in 99 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 13,773 |
PHP | 64 | 1,661 | 1,533 | 5,916 |
JavaScript | 9 | 1,085 | 803 | 4,594 |
CSS | 9 | 180 | 71 | 4,245 |
Sass | 5 | 312 | 0 | 1,952 |
PO File | 7 | 306 | 334 | 705 |
SVG | 1 | 0 | 0 | 685 |
Markdown | 2 | 27 | 0 | 162 |
PHP code Passed 2 tests
This is a short overview 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.52 |
Average class complexity | 13.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 2 | 5.88% |
▷ Concrete classes | 32 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 5 | 4.59% |
▷ Public methods | 106 | 97.25% |
▷ Protected methods | 3 | 2.75% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/codestar-framework/assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
lib/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
lib/codestar-framework/assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |