-
Home
-
WP Document Revisions
-
3.2.4
-
Code
-
Classes
- WP_Test_Document_Revisions
Total Complexity |
18 |
Dependencies |
0 |
Dependents |
5 |
Total lines |
312 |
Lines of code |
145 |
Logical lines of code |
99 |
Comment lines |
63 |
Methods |
14 |
Properties |
2 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
spoof_upload() |
S |
50 |
2 |
27 |
test_add_document() |
S |
51 |
2 |
25 |
test_verify_post_type() |
S |
57 |
1 |
18 |
setUp() |
S |
65 |
2 |
9 |
verify_attachment_matches_file() |
S |
67 |
2 |
7 |
test_get_attachments() |
S |
61 |
1 |
12 |
__construct() |
S |
83 |
1 |
3 |
test_activated() |
S |
80 |
1 |
3 |
test_post_type_exists() |
S |
80 |
1 |
3 |
test_workflow_states_exist() |
S |
71 |
1 |
5 |
test_revise_document() |
S |
63 |
1 |
10 |
test_file_type() |
S |
64 |
1 |
10 |
test_get_revisions() |
S |
72 |
1 |
5 |
test_get_revision_number() |
S |
66 |
1 |
8 |