Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.29ms] Passed 4 tests
An overview of server-side resources used by Apocalypse Meow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.49 ▼2.88 |
Dashboard /wp-admin | 3.31 ▼0.04 | 79.21 ▲12.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.73 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.42 ▼16.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.45 ▼3.95 |
Server storage [IO: ▲1.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 113 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Apocalypse Meow: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.38 | 1.78 ▼0.08 | 44.74 ▲0.25 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▼0.04 | 85.67 ▼7.53 | 40.77 ▲0.35 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.01 | 40.36 ▲5.03 | 35.70 ▼2.98 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▼0.43 | 675.60 ▲24.85 | 70.67 ▲11.82 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.25 ▲0.03 | 100.07 ▼7.21 | 44.69 ▼3.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Tags: You are using too many tags: 16 tag instead of maximum 10
apocalypse-meow/index.php 92% from 13 tests
Analyzing the main PHP file in "Apocalypse Meow" version 21.7.5
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("apocalypse-meow.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin10,823 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,748 | 2,535 | 8,464 |
PO File | 1 | 549 | 779 | 1,927 |
Markdown | 3 | 224 | 0 | 349 |
HTML | 1 | 10 | 0 | 50 |
JavaScript | 12 | 0 | 17 | 27 |
CSS | 4 | 0 | 0 | 4 |
JSON | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 63.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 302.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 468 | |
▷ Static methods | 391 | 83.55% |
▷ Public methods | 402 | 85.90% |
▷ Protected methods | 66 | 14.10% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 5 | 19.23% |
▷ Anonymous functions | 21 | 80.77% |
Constants | 82 | |
▷ Global constants | 21 | 25.61% |
▷ Class constants | 61 | 74.39% |
▷ Public constants | 61 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin