Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.92MB] [CPU: ▼43.65ms] Passed 4 tests
This is a short check of server-side resources used by Zajax - Ajax Navigation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.04 | 28.18 ▼15.02 |
Dashboard /wp-admin | 3.03 ▼0.31 | 21.31 ▼42.93 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 20.82 ▼32.72 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 22.06 ▼83.93 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 25.58 ▼12.14 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zajax - Ajax Navigation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲154 | 13.85 ▼0.50 | 10.15 ▲8.60 | 41.78 ▲0.26 |
Dashboard /wp-admin | 2,206 ▲31 | 5.65 ▲0.00 | 83.47 ▼15.81 | 38.61 ▼3.87 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.98 ▼0.03 | 36.05 ▼6.50 | 33.46 ▼5.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.56 ▲0.68 | 664.82 ▲2.50 | 55.09 ▼9.65 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.29 ▲0.09 | 97.86 ▼6.44 | 45.29 ▼4.70 |
Zajax /wp-admin/zajax.php | 26 | 0.42 | 0.13 | 15.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin cannot be uninstalled
- > 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 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zajax-ajax-navigation/zajax.php:66
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/zajax.php
- > Network (severe)
wp-admin/zajax.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add images for these screenshots: #1 (Video website using Zajax.), #2 (Zajax settings page.)
zajax-ajax-navigation/zajax.php 92% from 13 tests
The principal PHP file in "Zajax - Ajax Navigation" v. 0.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zajax-ajax-navigation.php" instead of "zajax.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
There were no executable files found in this plugin615 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 87 | 38 | 330 |
CSS | 3 | 21 | 31 | 128 |
HTML | 1 | 24 | 0 | 97 |
JavaScript | 4 | 1 | 7 | 60 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 7 | |
▷ Named functions | 7 | 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
There were not PNG files found in your plugin