Benchmarks
Plugin footprint 65% 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: ▼0.74MB] [CPU: ▼31.38ms] Passed 4 tests
An overview of server-side resources used by Meta Accelerator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 39.84 ▼1.00 |
Dashboard /wp-admin | 3.21 ▼0.10 | 23.75 ▼19.06 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 24.19 ▼24.46 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 23.77 ▼70.74 |
Media Library /wp-admin/upload.php | 3.21 ▼0.03 | 22.36 ▼11.24 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
meta-accelerator_cols_cnt |
meta-accelerator_batch_count |
theysaidso_admin_options |
meta-accelerator_cols |
meta-accelerator_index |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Meta Accelerator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.48 ▲0.12 | 1.77 ▼0.38 | 40.89 ▼6.06 |
Dashboard /wp-admin | 2,207 ▲24 | 5.83 ▼0.10 | 106.27 ▼0.25 | 39.20 ▼5.36 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.02 | 38.91 ▼0.93 | 34.82 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.62 ▲0.16 | 660.04 ▲31.64 | 56.13 ▼11.57 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.01 | 96.32 ▲0.24 | 42.03 ▼0.23 |
meta speedup /wp-admin/meta_accelerator_admin.php | 26 | 0.44 | 0.08 | 14.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 10 options in the database
- db_upgraded
- meta-accelerator_batch_count
- can_compress_scripts
- meta-accelerator_index
- meta-accelerator_cols_cnt
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- meta-accelerator_cols
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function meta_accelerator\\register_activation_hook() in wp-content/plugins/meta-accelerator/meta-accelerator.php:39
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/meta_accelerator_admin.php
- > Network (severe)
wp-admin/meta_accelerator_admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Donate link: Invalid URI found ("")
meta-accelerator/meta-accelerator.php 92% from 13 tests
The main file in "Meta Accelerator" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,008 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 262 | 379 | 885 |
JavaScript | 1 | 33 | 8 | 111 |
CSS | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 77.50 |
▷ Minimum class complexity | 68.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 4 | 8.89% |
▷ Public methods | 45 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin